aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2008-10-06 22:23:18 +0000
committerDoug Evans <dje@google.com>2008-10-06 22:23:18 +0000
commitd97bc12be0807f1de4cbddd62dedc9a6e88a54d9 (patch)
tree18bd0ad65f932cc97298a57ced61db673663aff9 /gdb/doc
parent4545259105cd6f772b6d733e06f32d4e872e82c5 (diff)
downloadgdb-d97bc12be0807f1de4cbddd62dedc9a6e88a54d9.zip
gdb-d97bc12be0807f1de4cbddd62dedc9a6e88a54d9.tar.gz
gdb-d97bc12be0807f1de4cbddd62dedc9a6e88a54d9.tar.bz2
* dwarf2read.c (dwarf2_die_debug): New static global.
(dump_die_shallow): Renamed from dump_die, New args f, indent. Print to specified file, indented by the specified amount. (dump_die_for_error): New fn. Point all existing callers of dump_die here. (dump_die_die_1,dump_die): New fns, replaces ... (dump_die_list): ... deleted. (read_die_and_children_1): Old contents of read_die_and_children moved here. (read_die_and_children): Rewrite. (read_die_and_siblings): Call read_die_and_children_1 instead of read_die_and_children. (_initialize_dwarf2_read): New option "debug dwarf2-die". * gdbinit.in (pdie): New macro. * doc/gdb.texinfo (set debug dwarf2-die): Document it.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdb.texinfo7
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 4b757e0..314a6f0 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2008-10-06 Doug Evans <dje@google.com>
+
+ * gdb.texinfo (set debug dwarf2-die): Document it.
+
2008-10-01 Joel Brobecker <brobecker@adacore.com>
* gdb.texinfo (catch) [exception]: Document how to insert
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index dddc88b..67b5fac 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -17019,6 +17019,13 @@ Display debugging messages about inner workings of the AIX thread
module.
@item show debug aix-thread
Show the current state of AIX thread debugging info display.
+@item set debug dwarf2-die
+@cindex DWARF2 DIEs
+Dump DWARF2 DIEs after they are read in.
+The value is the number of nesting levels to print.
+A value of zero turns off the display.
+@item show debug dwarf2-die
+Show the current state of DWARF2 DIE debugging.
@item set debug displaced
@cindex displaced stepping debugging info
Turns on or off display of @value{GDBN} debugging info for the