This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH/RFA] Add N_PATCH stab


The Solaris compiler emits these, which triggers a complaint in GDB.
I'd like to make GDB ignore these beasts.

Is this a BFD file or a GDB file?

Mark


Index: include/aout/ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* stab.def: Add N_PATCH.

Index: include/aout/stab.def
===================================================================
RCS file: /cvs/src/src/include/aout/stab.def,v
retrieving revision 1.2
diff -u -p -r1.2 stab.def
--- include/aout/stab.def 14 Mar 2001 02:27:43 -0000 1.2
+++ include/aout/stab.def 4 Jan 2004 21:06:32 -0000
@@ -181,6 +181,9 @@ __define_stab (N_EXCL, 0xc2, "EXCL")
 /* Modula-2 scope information.  Can someone say what info it contains?  */
 __define_stab (N_SCOPE, 0xc4, "SCOPE")
 
+/* Solaris2: Patch Run Time Checker.  */
+__define_stab (N_PATCH, 0xd0, "PATCH")
+
 /* End of a lexical block.  Desc matches the N_LBRAC's desc.
    The value is the address of the end of the text for the block.
    On Solaris2, the value is relative to the start of the current function.  */
@@ -256,7 +259,7 @@ __define_stab (N_LENG, 0xfe, "LENG")
 	| B8	    | BA	| BC	    | BE	|
 	| C0 LBRAC  | C2 EXCL	| C4 SCOPE  | C6	|
 	| C8	    | CA	| CC	    | CE	|
-	| D0	    | D2	| D4	    | D6	|
+	| D0 PATCH  | D2	| D4	    | D6	|
 	| D8	    | DA	| DC	    | DE	|
 	| E0 RBRAC  | E2 BCOMM	| E4 ECOMM  | E6	|
 	| E8 ECOML  | EA WITH	| EC	    | EE	|


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]