From mboxrd@z Thu Jan 1 00:00:00 1970 From: DJ Delorie To: gdb@sources.redhat.com Subject: Re: DOS/Windows-specific code in sim/ Date: Tue, 08 May 2001 09:30:00 -0000 Message-id: 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/msg00132.html Eli Zaretskii writes: > Does someone know why this is done? If SIGTRAP etc. are not defined, > the code should simply not reference it. 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. Not that I agree with the technique, but that's how it is...