aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2007-11-15 18:43:23 +0000
committerDoug Evans <dje@google.com>2007-11-15 18:43:23 +0000
commit1b39d5c085209598c10bcca5eb503ff7d74f056c (patch)
tree00968f460cce67502530fc0cb4957a8ae2e072b4 /gdb
parent2699bdf21c615d9cdef8e0956c346e33b9cba2a3 (diff)
downloadgdb-1b39d5c085209598c10bcca5eb503ff7d74f056c.zip
gdb-1b39d5c085209598c10bcca5eb503ff7d74f056c.tar.gz
gdb-1b39d5c085209598c10bcca5eb503ff7d74f056c.tar.bz2
* symmisc.c (maintenance_info_symtabs): Print linetable info.
* doc/gdb.texinfo (Symbols): Update output of "maint info symtabs".
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdb.texinfo1
-rw-r--r--gdb/symmisc.c2
4 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index aed8ce1..afb6351 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-15 Doug Evans <dje@google.com>
+
+ * symmisc.c (maintenance_info_symtabs): Print linetable info.
+
2007-11-15 Markus Deuling <deuling@de.ibm.com>
* mipsnbsd-tdep.h (SIZEOF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 28a4122..d1d8dbf 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-15 Doug Evans <dje@google.com>
+
+ * gdb.texinfo (Symbols): Update output of "maint info symtabs".
+
2007-11-15 Vladimir Prus <vladimir@codesourcery.com>
* gdbint.texinfo (Native Conditionals): Remove
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 983300f..55b02c3 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 f5fe4ab..6b1bea9 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");
}