diff options
author | cvs2svn <> | 2002-06-12 21:19:43 +0000 |
---|---|---|
committer | cvs2svn <> | 2002-06-12 21:19:43 +0000 |
commit | a5ef0226749032637d6b3d88adb549b26e6284b7 (patch) | |
tree | cf6b361323ffaeec918a4697b0782c23986529a4 /include/gdb/signals.h | |
parent | 2226614012948569d69e5a9f74ebad2645e3ccba (diff) | |
download | cygnal-a5ef0226749032637d6b3d88adb549b26e6284b7.tar.gz cygnal-a5ef0226749032637d6b3d88adb549b26e6284b7.tar.bz2 cygnal-a5ef0226749032637d6b3d88adb549b26e6284b7.zip |
This commit was manufactured by cvs2svn to create branch
'cagney_regbuf-20020515-branch'.
Sprout from jimb-macro-020506-branch 2002-05-05 18:58:18 UTC cvs2svn 'This commit was manufactured by cvs2svn to create branch 'jimb-'
Cherrypick from master 2002-06-12 21:19:42 UTC Andrew Cagney <cagney@gnu.org> 'Add the file include/gdb/sim-arm.h defining an enum that specifies the':
include/elf/dlx.h
include/elf/vax.h
include/gdb/callback.h
include/gdb/remote-sim.h
include/gdb/signals.h
include/gdb/sim-arm.h
include/gdb/sim-d10v.h
include/gdb/sim-sh.h
include/opcode/dlx.h
Cherrypick from master 2002-05-10 22:53:56 UTC Elena Zannoni <ezannoni@redhat.com> '2002-05-10 Elena Zannoni <ezannoni@redhat.com>':
ChangeLog
Makefile.in
include/elf/ChangeLog
include/elf/common.h
include/gdb/ChangeLog
Diffstat (limited to 'include/gdb/signals.h')
-rw-r--r-- | include/gdb/signals.h | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/include/gdb/signals.h b/include/gdb/signals.h index 17107504e..b6f5d4853 100644 --- a/include/gdb/signals.h +++ b/include/gdb/signals.h @@ -32,7 +32,8 @@ Since these numbers have actually made it out into other software (stubs, etc.), you mustn't disturb the assigned numbering. If you need to add new signals here, add them to the end of the explicitly - numbered signals. + numbered signals, at the comment marker. Add them unconditionally, + not within any #if or #ifdef. This is based strongly on Unix/POSIX signals for several reasons: (1) This set of signals represents a widely-accepted attempt to @@ -208,15 +209,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, - TARGET_EXC_ARITHMETIC, - TARGET_EXC_EMULATION, - TARGET_EXC_SOFTWARE, - TARGET_EXC_BREAKPOINT, -#endif TARGET_SIGNAL_INFO, /* Some signal we don't know about. */ @@ -226,6 +218,18 @@ enum target_signal (for passing to proceed and so on). */ TARGET_SIGNAL_DEFAULT, + /* Mach exceptions. In versions of GDB before 5.2, these were just before + TARGET_SIGNAL_INFO if you were compiling on a Mach host (and missing + otherwise). */ + TARGET_EXC_BAD_ACCESS, + TARGET_EXC_BAD_INSTRUCTION, + TARGET_EXC_ARITHMETIC, + TARGET_EXC_EMULATION, + TARGET_EXC_SOFTWARE, + TARGET_EXC_BREAKPOINT, + + /* If you are adding a new signal, add it just above this comment. */ + /* Last and unused enum value, for sizing arrays, etc. */ TARGET_SIGNAL_LAST }; |