Pacify GCC - SIM_SIGNONE missing in enum, xmalloc/free VS ZALLOC/zfree.
This commit is contained in:
parent
04b26b0008
commit
a1cf18dc76
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Nov 21 09:32:32 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* sim-signal.c (sim_signal_to_host): Return 0 for SIM_SIGNONE.
|
||||
|
||||
Thu Nov 20 20:35:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* sim-signal.h: Start simulator signals at 64 so that host signal
|
||||
|
|
|
@ -78,6 +78,10 @@ sim_signal_to_host (SIM_DESC sd, SIM_SIGNAL sig)
|
|||
return SIGFPE;
|
||||
#endif
|
||||
break;
|
||||
|
||||
case SIM_SIGNONE:
|
||||
return 0;
|
||||
break;
|
||||
}
|
||||
|
||||
sim_io_eprintf (sd, "sim_signal_to_host: unknown signal: %d\n", sig);
|
||||
|
|
Loading…
Reference in a new issue