* [PATCH] Eliminate ifdef in nrun.c
@ 2003-06-23 18:18 Michael Snyder
2003-06-23 18:35 ` Andrew Cagney
0 siblings, 1 reply; 2+ messages in thread
From: Michael Snyder @ 2003-06-23 18:18 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 104 bytes --]
The h8/300 simulator now handles signals and exit codes correctly,
so this hack is no longer required.
[-- Attachment #2: tmp --]
[-- Type: text/plain, Size: 877 bytes --]
2003-06-23 Michael Snyder <msnyder@redhat.com>
* nrun.c (main): Delete h8/300 ifdef (sim now handles signals).
Index: nrun.c
===================================================================
RCS file: /cvs/src/src/sim/common/nrun.c,v
retrieving revision 1.3
diff -p -r1.3 nrun.c
*** nrun.c 27 Feb 2003 23:26:33 -0000 1.3
--- nrun.c 23 Jun 2003 18:02:06 -0000
*************** main (int argc, char **argv)
*** 176,186 ****
the signal that the simulator received; we want to return that to
indicate failure. */
- #ifdef SIM_H8300 /* FIXME: Ugh. grep for SLEEP in compile.c */
- if (sigrc == SIGILL)
- abort ();
- sigrc = 0;
- #else
/* Why did we stop? */
switch (reason)
{
--- 176,181 ----
*************** main (int argc, char **argv)
*** 198,204 ****
break;
}
- #endif
return sigrc;
}
--- 193,198 ----
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Eliminate ifdef in nrun.c
2003-06-23 18:18 [PATCH] Eliminate ifdef in nrun.c Michael Snyder
@ 2003-06-23 18:35 ` Andrew Cagney
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cagney @ 2003-06-23 18:35 UTC (permalink / raw)
To: Michael Snyder; +Cc: gdb-patches
> - #ifdef SIM_H8300 /* FIXME: Ugh. grep for SLEEP in compile.c */
> - if (sigrc == SIGILL)
> - abort ();
> - sigrc = 0;
> - #else
Ya!
Andrew
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-06-23 18:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-23 18:18 [PATCH] Eliminate ifdef in nrun.c Michael Snyder
2003-06-23 18:35 ` Andrew Cagney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox