From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eli Zaretskii" To: dj@redhat.com Cc: gdb@sources.redhat.com Subject: Re: DOS/Windows-specific code in sim/ Date: Tue, 08 May 2001 11:04:00 -0000 Message-id: <7704-Tue08May2001210348+0300-eliz@is.elta.co.il> References: <20010503211502.21716.qmail@web6401.mail.yahoo.com> <3AF1DAA0.3060702@cygnus.com> <200105071609.TAA24129@is.elta.co.il> <200105081156.OAA06345@is.elta.co.il> X-SW-Source: 2001-05/msg00138.html > From: DJ Delorie > 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?