From: Doug Evans Date: Thu, 15 Nov 2007 18:43:23 +0000 (+0000) Subject: * symmisc.c (maintenance_info_symtabs): Print linetable info. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1b39d5c085209598c10bcca5eb503ff7d74f056c;p=binutils-gdb.git * symmisc.c (maintenance_info_symtabs): Print linetable info. * doc/gdb.texinfo (Symbols): Update output of "maint info symtabs". --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index aed8ce11cea..afb6351735b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2007-11-15 Doug Evans + + * symmisc.c (maintenance_info_symtabs): Print linetable info. + 2007-11-15 Markus Deuling * mipsnbsd-tdep.h (SIZEOF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 28a41226138..d1d8dbf7c28 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2007-11-15 Doug Evans + + * gdb.texinfo (Symbols): Update output of "maint info symtabs". + 2007-11-15 Vladimir Prus * gdbint.texinfo (Native Conditionals): Remove diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 983300fc4ee..55b02c368ef 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -11174,6 +11174,7 @@ line 1574. dirname (null) fullname (null) blockvector ((struct blockvector *) 0x86c1bd0) (primary) + linetable ((struct linetable *) 0x8370fa0) debugformat DWARF 2 @} @} diff --git a/gdb/symmisc.c b/gdb/symmisc.c index f5fe4abc2ef..6b1bea90818 100644 --- a/gdb/symmisc.c +++ b/gdb/symmisc.c @@ -1039,6 +1039,8 @@ maintenance_info_symtabs (char *regexp, int from_tty) 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"); }