This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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]

RFA: add linetable to "maint info symtabs" output


I've been debugging some linetable issues, and this has been useful.

Ok to check in?
2007-11-13  Doug Evans  <dje@google.com>

	* symmisc.c (maintenance_info_symtabs): Print linetable info.

Index: symmisc.c
===================================================================
RCS file: /cvs/src/src/gdb/symmisc.c,v
retrieving revision 1.44
diff -u -p -r1.44 symmisc.c
--- symmisc.c	19 Oct 2007 12:26:34 -0000	1.44
+++ symmisc.c	13 Nov 2007 18:36:38 -0000
@@ -1039,6 +1039,8 @@ maintenance_info_symtabs (char *regexp, 
             printf_filtered ("    blockvector ((struct blockvector *) %p)%s\n",
                              symtab->blockvector,
                              symtab->primary ? " (primary)" : "");
+            printf_filtered ("    linetable ((struct linetable *) %p)\n",
+                             symtab->linetable);
             printf_filtered ("    debugformat %s\n", symtab->debugformat);
             printf_filtered ("  }\n");
           }

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