This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: DOS/Windows-specific code in sim/
> From: DJ Delorie <dj@redhat.com>
> Newsgroups: cygnus.gdb
> Date: 08 May 2001 12:27:05 -0400
>
> The problem is that the simulators generate these signals (the
> simulated environment supports them) but they're translated to the
> hosts's SIG* values to "standardize" how they're handled by gdb. If
> the sim supports more signals than the host, there needs to be some
> fake value they're translated into.
Then these define's can (and probably should) be done on all systems.
Like this, for example:
#ifndef SIGTRAP
#define SIGTRAP 5
#endif
Would that be okay?