Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [rfa] Always define all of TARGET_SIGNAL_*
@ 2002-02-27 19:11 Daniel Jacobowitz
  2002-02-28  6:57 ` Andrew Cagney
  0 siblings, 1 reply; 12+ messages in thread
From: Daniel Jacobowitz @ 2002-02-27 19:11 UTC (permalink / raw)
  To: gdb-patches

I've been meaning to fix this since I noticed it last summer.  These numbers
are part of the remote protocol.  While I think the last ones are never sent
over the wire, they could be (with the exception of TARGET_SIGNAL_LAST which
is -not- part of the protocol, as I understand it).  Having them jump around
is bad.

OK?

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

2002-02-27  Daniel Jacobowitz  <drow@mvista.com>

	* defs.h (enum target_signal): Do not let conditional compilation
	affect signal numbers.

Index: defs.h
===================================================================
RCS file: /cvs/src/src/gdb/defs.h,v
retrieving revision 1.81
diff -u -p -r1.81 defs.h
--- defs.h	2002/02/26 03:29:55	1.81
+++ defs.h	2002/02/28 03:09:09
@@ -404,7 +404,6 @@ enum target_signal
     TARGET_SIGNAL_REALTIME_126,
     TARGET_SIGNAL_REALTIME_127,
 
-#if defined(MACH) || defined(__MACH__)
     /* Mach exceptions */
     TARGET_EXC_BAD_ACCESS,
     TARGET_EXC_BAD_INSTRUCTION,
@@ -412,7 +411,7 @@ enum target_signal
     TARGET_EXC_EMULATION,
     TARGET_EXC_SOFTWARE,
     TARGET_EXC_BREAKPOINT,
-#endif
+
     TARGET_SIGNAL_INFO,
 
     /* Some signal we don't know about.  */


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2002-05-09 22:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-27 19:11 [rfa] Always define all of TARGET_SIGNAL_* Daniel Jacobowitz
2002-02-28  6:57 ` Andrew Cagney
2002-02-28  8:51   ` Daniel Jacobowitz
2002-02-28  9:17     ` Andrew Cagney
2002-02-28  9:44       ` Daniel Jacobowitz
2002-03-10 16:20       ` Daniel Jacobowitz
2002-03-11 18:33         ` Andrew Cagney
2002-03-11 18:49           ` Daniel Jacobowitz
2002-03-11 20:01             ` Andrew Cagney
2002-03-16 18:27               ` Daniel Jacobowitz
2002-03-16 18:38                 ` Andrew Cagney
2002-05-09 15:22                   ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox