From: Hans-Peter Nilsson <hp@bitrange.com>
To: Mark Mitchell <mark@codesourcery.com>
Cc: Daniel Jacobowitz <drow@false.org>, gdb-patches@sources.redhat.com
Subject: Re: PATCH: Use target values for signals in simulator
Date: Tue, 29 Nov 2005 13:03:00 -0000 [thread overview]
Message-ID: <Pine.BSF.4.58.0511282127400.63296@dair.pair.com> (raw)
In-Reply-To: <438B5AC8.1050700@codesourcery.com>
On Mon, 28 Nov 2005, Mark Mitchell wrote:
> Daniel Jacobowitz wrote:
>
> > OK with that change.
>
> Here's the version I checked in, for the record.
(Sent as attachment, so I can't quote in pine...)
Something went generally wrong.
For cris-elf, I see (cutnpaste):
gcc -c
/home/hp/combined/combined/sim/cris/../common/sim-signal.c
-DHAVE_CONFIG_H -DWITH_DEFAULT_MODEL='"crisv32"' -DPROFILE=1\
-DWITH_PROFILE=-1 -DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT
-DWITH_ENVIRONMENT=ALL_ENVIRONMENT
-DWITH_HOST_BYTE_ORDER=LITTLE_EN\
DIAN -DWITH_SCACHE=16384 -I.
-I/home/hp/combined/combined/sim/cris -I../common
-I/home/hp/combined/combined/sim/cris\
/../common -I../../include
-I/home/hp/combined/combined/sim/cris/../../include -I../../bfd
-I/home/hp/combined/combined/sim/cris/\
../../bfd -I../../opcodes
-I/home/hp/combined/combined/sim/cris/../../opcodes -I../../intl
-I/home/hp/combined/combined/sim/cris/\
../../intl -g -O2
/home/hp/combined/combined/sim/common/sim-signal.c:100: error: conflicting types for `sim_signal_to_target'
/home/hp/combined/combined/sim/common/sim-signal.h:50: error: previous declaration of `sim_signal_to_target'
/home/hp/combined/combined/sim/common/sim-signal.c: In function `sim_signal_to_target':
/home/hp/combined/combined/sim/common/sim-signal.c:119: error: syntax error before "return"
make[5]: *** [sim-signal.o] Error 1
To wit:
sim-signal.h:
enum target_signal sim_signal_to_target (SIM_DESC sd, SIM_SIGNAL);
sim-signal.c:
int
sim_signal_to_target (SIM_DESC sd, SIM_SIGNAL sig)
I guess you attached and committed the wrong version. There's
an obvious syntax error; missing ":" on one case line, see
above.
brgds, H-P
next prev parent reply other threads:[~2005-11-29 2:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-23 19:56 mitchell
2005-11-25 19:11 ` Daniel Jacobowitz
2005-11-25 20:16 ` Mark Mitchell
2005-11-28 22:26 ` Daniel Jacobowitz
2005-11-28 22:43 ` Mark Mitchell
2005-11-29 13:03 ` Hans-Peter Nilsson [this message]
2005-11-29 14:08 ` Mark Mitchell
2005-11-25 23:33 ` Mark Kettenis
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=Pine.BSF.4.58.0511282127400.63296@dair.pair.com \
--to=hp@bitrange.com \
--cc=drow@false.org \
--cc=gdb-patches@sources.redhat.com \
--cc=mark@codesourcery.com \
/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