aboutsummaryrefslogtreecommitdiff
path: root/include/aout
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2008-08-28 16:04:18 +0000
committerTristan Gingold <gingold@adacore.com>2008-08-28 16:04:18 +0000
commitaf11f592a854dbc78b148100403812a539c95fd6 (patch)
treee1ba633612ca8614049090d110fd77d458a88fee /include/aout
parentddab3d59175a57004f4938f69e13dc3d68db78e9 (diff)
downloadgdb-af11f592a854dbc78b148100403812a539c95fd6.zip
gdb-af11f592a854dbc78b148100403812a539c95fd6.tar.gz
gdb-af11f592a854dbc78b148100403812a539c95fd6.tar.bz2
2008-08-28 Tristan Gingold <gingold@adacore.com>
* stab.def: Add BNSYM, ENSYM, OSO for darwin.
Diffstat (limited to 'include/aout')
-rw-r--r--include/aout/ChangeLog4
-rw-r--r--include/aout/stab.def11
2 files changed, 15 insertions, 0 deletions
diff --git a/include/aout/ChangeLog b/include/aout/ChangeLog
index e5c315a..493b215 100644
--- a/include/aout/ChangeLog
+++ b/include/aout/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-28 Tristan Gingold <gingold@adacore.com>
+
+ * stab.def: Add BNSYM, ENSYM, OSO for darwin.
+
2008-03-27 Cary Coutant <ccoutant@google.com>
* ar.h (ARMAGT): New magic string for thin archives.
diff --git a/include/aout/stab.def b/include/aout/stab.def
index 04ad1f1..3fe8084 100644
--- a/include/aout/stab.def
+++ b/include/aout/stab.def
@@ -53,6 +53,10 @@ __define_stab (N_MAIN, 0x2a, "MAIN")
/* Solaris2: Read-only data symbols. */
__define_stab (N_ROSYM, 0x2c, "ROSYM")
+/* MacOS X:
+ The beginning of a relocatable function block - including stabs. */
+__define_stab (N_BNSYM, 0x2e, "BNSYM")
+
/* Global symbol in Pascal.
Supposedly the value is its line number; I'm skeptical. */
__define_stab (N_PC, 0x30, "PC")
@@ -106,6 +110,9 @@ __define_stab(N_DEFD, 0x4a, "DEFD")
/* New in Solaris2. Function start/body/end line numbers. */
__define_stab(N_FLINE, 0x4C, "FLINE")
+/* MacOS X: This tells the end of a relocatable function + debugging info. */
+__define_stab(N_ENSYM, 0x4E, "ENSYM")
+
/* THE FOLLOWING TWO STAB VALUES CONFLICT. Happily, one is for Modula-2
and one is for C++. Still,... */
/* GNU C++ exception variable. Name is variable name. */
@@ -136,6 +143,10 @@ __define_stab (N_ENDM, 0x62, "ENDM")
__define_stab (N_SO, 0x64, "SO")
+/* Apple: This is the stab that associated the .o file with the
+ N_SO stab, in the case where debug info is mostly stored in the .o file. */
+__define_stab (N_OSO, 0x66, "OSO")
+
/* SunPro F77: Name of alias. */
__define_stab (N_ALIAS, 0x6c, "ALIAS")