aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1999-05-11 13:35:55 +0000
committerStan Shebs <shebs@codesourcery.com>1999-05-11 13:35:55 +0000
commitcd0fc7c3ebe90ce6390e06cef0ae9a54fe9c9891 (patch)
tree422678986a58e51b2a7fe3d64c38b97d4996abe1 /gdb/target.h
parente9868447b4b62dd04b5350113b136856ddbaa232 (diff)
downloadgdb-cd0fc7c3ebe90ce6390e06cef0ae9a54fe9c9891.zip
gdb-cd0fc7c3ebe90ce6390e06cef0ae9a54fe9c9891.tar.gz
gdb-cd0fc7c3ebe90ce6390e06cef0ae9a54fe9c9891.tar.bz2
import gdb-1999-05-10
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 41006ef..30d33a2 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -106,9 +106,14 @@ enum target_waitkind {
signals (insofar as various unices use the same numbers, anyway).
It is also the numbering of the GDB remote protocol. Other remote
protocols, if they use a different numbering, should make sure to
- translate appropriately. */
+ translate appropriately.
-/* This is based strongly on Unix/POSIX signals for several reasons:
+ 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.
+
+ This is based strongly on Unix/POSIX signals for several reasons:
(1) This set of signals represents a widely-accepted attempt to
represent events of this sort in a portable fashion, (2) we want a
signal to make it from wait to child_wait to the user intact, (3) many
@@ -205,6 +210,10 @@ enum target_signal {
TARGET_SIGNAL_REALTIME_61 = 73,
TARGET_SIGNAL_REALTIME_62 = 74,
TARGET_SIGNAL_REALTIME_63 = 75,
+
+ /* Used internally by Solaris threads. See signal(5) on Solaris. */
+ TARGET_SIGNAL_CANCEL = 76,
+
#if defined(MACH) || defined(__MACH__)
/* Mach exceptions */
TARGET_EXC_BAD_ACCESS,