summaryrefslogtreecommitdiffstats
path: root/gcc/stab.def
diff options
context:
space:
mode:
authordpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-12 21:32:56 +0000
committerdpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-12 21:32:56 +0000
commit4ec929165e715d09b04b260c16fd58b7f3ccc1dc (patch)
tree85c5760826de54f9a125455e8e36d8ebb96299eb /gcc/stab.def
parentdfca499a8fd96b41f52b648ceec82f0710eeb2bd (diff)
downloadppe42-gcc-4ec929165e715d09b04b260c16fd58b7f3ccc1dc.tar.gz
ppe42-gcc-4ec929165e715d09b04b260c16fd58b7f3ccc1dc.zip
* dbxout.c (dbxout_begin_prologue): New function.
(dbx_debug_hooks): Use new begin prologue hook. (dbxout_function_end): Emit N_ENSYM. * stab.def (N_BNSYM, N_ENSYM): Define and document these two new stabs. testsuite: gcc.dg/darwin-20040809-2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85908 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stab.def')
-rw-r--r--gcc/stab.def10
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/stab.def b/gcc/stab.def
index 7a0b84960b1..2d589616235 100644
--- a/gcc/stab.def
+++ b/gcc/stab.def
@@ -39,6 +39,12 @@ __define_stab (N_STSYM, 0x26, "STSYM")
/* BSS-segment variable with internal linkage. Value is its address. */
__define_stab (N_LCSYM, 0x28, "LCSYM")
+/* Begin function marker. */
+__define_stab (N_BNSYM, 0x2e, "BNSYM")
+
+/* End function marker. */
+__define_stab (N_ENSYM, 0x4e, "ENSYM")
+
/* Name of main routine. Only the name is significant.
This is not used in C. */
__define_stab (N_MAIN, 0x2a, "MAIN")
@@ -201,11 +207,11 @@ __define_stab (N_LENG, 0xfe, "LENG")
|_______________________________________________|
| Debug entries with bit 01 set are unused. |
| 20 GSYM | 22 FNAME | 24 FUN | 26 STSYM |
- | 28 LCSYM | 2A MAIN | 2C | 2E |
+ | 28 LCSYM | 2A MAIN | 2C | 2E BNSYM |
| 30 PC | 32 NSYMS | 34 NOMAP | 36 |
| 38 OBJ | 3A | 3C OPT | 3E |
| 40 RSYM | 42 M2C | 44 SLINE | 46 DSLINE |
- | 48 BSLINE*| 4A DEFD | 4C | 4E |
+ | 48 BSLINE*| 4A DEFD | 4C | 4E ENSYM |
| 50 EHDECL*| 52 | 54 CATCH | 56 |
| 58 | 5A | 5C | 5E |
| 60 SSYM | 62 | 64 SO | 66 |
OpenPOWER on IntegriCloud