Re: H8300 simulator on MinGW fails to compile.

Daniel Jacobowitz
2006-09-13T20:30:17Z

First, a minor point: your patch was reversed, deleting instead
of adding. New file second on the diff command line.

On Thu, Sep 14, 2006 at 06:10:08AM +1000, Chris Johns wrote:
> ../../../gdb-6.5/sim/h8300/compile.c: In function `sim_resume':
> ../../../gdb-6.5/sim/h8300/compile.c:1942: error: `SIGBUS' undeclared
> (first use in this function)
> ../../../gdb-6.5/sim/h8300/compile.c:1942: error: (Each undeclared
> identifier is reported only once
> ../../../gdb-6.5/sim/h8300/compile.c:1942: error: for each function it
> appears in.)
> make[3]: *** [compile.o] Error 1

Some work has been done to reduce the use of host signal numbers in the
simulator. Rather than adding more bandaids, we need to do more to
switch to either the SIM_* or TARGET_SIGNAL_* constants. The host's
numbers just aren't relevant.

Unfortunately all the code is somewhat tangled in multiple sims.

--
Daniel Jacobowitz
CodeSourcery