From: Tom Tromey <tom@tromey.com>
To: Mike Frysinger via Gdb-patches <gdb-patches@sourceware.org>
Cc: joel@rtems.org
Subject: Re: [PATCH] sim: enable hardware support by default
Date: Sat, 24 Apr 2021 15:30:49 -0600 [thread overview]
Message-ID: <8735vfe5fa.fsf@tromey.com> (raw)
In-Reply-To: <20210424041958.12761-1-vapier@gentoo.org> (Mike Frysinger via Gdb-patches's message of "Sat, 24 Apr 2021 00:19:58 -0400")
>>>>> "Mike" == Mike Frysinger via Gdb-patches <gdb-patches@sourceware.org> writes:
Mike> Force this on for all ports. We have a few common models that can
Mike> be used, so make them generally available. If the port doesn't use
Mike> any hardware (the default), then behavior is unchanged.
I didn't bisect, so I am not completely sure, but some recent patch
(maybe this one) caused:
../../../binutils-gdb/sim/mips/../common/dv-sockser.c:226:1: warning: no previous prototype for ‘dv_sockser_install’ [-Wmissing-prototypes]
226 | dv_sockser_install (SIM_DESC sd)
| ^~~~~~~~~~~~~~~~~~
../../../binutils-gdb/sim/mips/../common/dv-sockser.c:287:1: error: redefinition of ‘dv_sockser_status’
287 | dv_sockser_status (SIM_DESC sd)
| ^~~~~~~~~~~~~~~~~
In file included from ../../../binutils-gdb/sim/mips/../common/dv-sockser.c:49:
../../../binutils-gdb/sim/mips/../common/dv-sockser.h:44:1: note: previous definition of ‘dv_sockser_status’ was here
44 | dv_sockser_status (SIM_DESC sd)
| ^~~~~~~~~~~~~~~~~
../../../binutils-gdb/sim/mips/../common/dv-sockser.c:342:1: error: redefinition of ‘dv_sockser_write_buffer’
342 | dv_sockser_write_buffer (SIM_DESC sd, const unsigned char *buffer,
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../../binutils-gdb/sim/mips/../common/dv-sockser.c:49:
../../../binutils-gdb/sim/mips/../common/dv-sockser.h:58:1: note: previous definition of ‘dv_sockser_write_buffer’ was here
58 | dv_sockser_write_buffer (SIM_DESC sd, const unsigned char *buffer,
| ^~~~~~~~~~~~~~~~~~~~~~~
../../../binutils-gdb/sim/mips/../common/dv-sockser.c:365:1: error: redefinition of ‘dv_sockser_write’
365 | dv_sockser_write (SIM_DESC sd, unsigned char c)
| ^~~~~~~~~~~~~~~~
In file included from ../../../binutils-gdb/sim/mips/../common/dv-sockser.c:49:
../../../binutils-gdb/sim/mips/../common/dv-sockser.h:52:1: note: previous definition of ‘dv_sockser_write’ was here
52 | dv_sockser_write (SIM_DESC sd, unsigned char c)
| ^~~~~~~~~~~~~~~~
../../../binutils-gdb/sim/mips/../common/dv-sockser.c:371:1: error: redefinition of ‘dv_sockser_read’
371 | dv_sockser_read (SIM_DESC sd)
| ^~~~~~~~~~~~~~~
In file included from ../../../binutils-gdb/sim/mips/../common/dv-sockser.c:49:
../../../binutils-gdb/sim/mips/../common/dv-sockser.h:65:1: note: previous definition of ‘dv_sockser_read’ was here
65 | dv_sockser_read (SIM_DESC sd)
| ^~~~~~~~~~~~~~~
make[3]: *** [Makefile:578: dv-sockser.o] Error 1
thanks,
Tom
next prev parent reply other threads:[~2021-04-24 21:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-24 4:19 Mike Frysinger via Gdb-patches
2021-04-24 21:30 ` Tom Tromey [this message]
2021-04-24 22:34 ` Mike Frysinger via Gdb-patches
2021-04-26 13:24 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8735vfe5fa.fsf@tromey.com \
--to=tom@tromey.com \
--cc=gdb-patches@sourceware.org \
--cc=joel@rtems.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox