diff options
author | Doug Evans <dje@google.com> | 2015-05-26 16:50:57 -0700 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2015-05-26 16:50:57 -0700 |
commit | b4f5498457d0648811a9cc9d34d3c6635509dffc (patch) | |
tree | 1d669f05bf80efa043dc8edd4ef1b93729813989 /gdb/doc | |
parent | 4ea6efe9365f8a87723fe01a2dd8ddf5cdec1498 (diff) | |
download | gdb-b4f5498457d0648811a9cc9d34d3c6635509dffc.zip gdb-b4f5498457d0648811a9cc9d34d3c6635509dffc.tar.gz gdb-b4f5498457d0648811a9cc9d34d3c6635509dffc.tar.bz2 |
Rename dwarf2 to dwarf in "set debug" and maintenance commands.
gdb/ChangeLog:
* NEWS: Add entries for command renamings.
* dwarf2read.c (dwarf_read_debug): Renamed from dwarf2_read_debug.
All uses updated.
(dwarf_die_debug): Renamed from dwarf2_die_debug. All uses updated.
(dwarf_max_cache_age): Renamed from dwarf2_max_cache_age.
All uses updated.
(show_dwarf_max_cache_age): Renamed from show_dwarf2_max_cache_age.
All callers updated. Fix spelling of DWARF in help text.
(set_dwarf_cmdlist): Renamed from set_dwarf2_cmdlist.
All uses updated.
(show_dwarf_cmdlist): Renamed from show_dwarf2_cmdlist.
All uses updated.
(set_dwarf_cmd): Renamed from set_dwarf2_cmd. All callers updated.
(show_dwarf_cmd): Renamed from show_dwarf2_cmd. All callers updated.
(dwarf_always_disassemble): Renamed from dwarf_always_disassemble.
All uses updated.
(show_dwarf_always_disassemble): Renamed from
show_dwarf2_always_disassemble. All callers updated.
(_initialize_dwarf2_read): Rename "set/show dwarf2" prefix to
"set/show dwarf". Rename "set/show dwarf2 max-cache-age" to
"set/show dwarf max-cache-age". Rename
"set/show dwarf2 always-disassemble" to
"set/show dwarf always-disassemble". Rename
"set/show debug dwarf2-read" to "set/show debug dwarf-read". Rename
"set/show debug dwarf2-die" to "set/show debug dwarf-die".
gdb/doc/ChangeLog:
* gdb.texinfo (Debugging Output): Update for DWARF "set debug"
command renamings.
(Maintenance Commands): Update for DWARF "set debug" command renamings.
gdb/testsuite/ChangeLog:
* gdb.dwarf2/dw2-op-call.exp: Update.
* gdb.dwarf2/dw4-sig-types.exp: Update.
* gdb.dwarf2/implptr.exp: Update.
* gdb.mi/mi-cmd-param-changed.exp: Update.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 40 |
2 files changed, 26 insertions, 20 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index b99c316..490afe2 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,9 @@ +2015-05-26 Doug Evans <dje@google.com> + + * gdb.texinfo (Debugging Output): Update for DWARF "set debug" + command renamings. + (Maintenance Commands): Update for DWARF "set debug" command renamings. + 2015-05-26 Andrew Burgess <andrew.burgess@embecosm.com> * gdb.texinfo (TUI Commands): Add 'tui reg prev' details. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 566cb9a..6cc6c7e 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -23410,21 +23410,21 @@ exported symbols. The default is off. @item show debug coff-pe-read Displays the current state of displaying debugging messages related to reading of COFF/PE exported symbols. -@item set debug dwarf2-die -@cindex DWARF2 DIEs -Dump DWARF2 DIEs after they are read in. +@item set debug dwarf-die +@cindex DWARF DIEs +Dump DWARF 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 dwarf2-read -@cindex DWARF2 Reading +@item show debug dwarf-die +Show the current state of DWARF DIE debugging. +@item set debug dwarf-read +@cindex DWARF Reading Turns on or off display of debugging messages related to reading DWARF debug info. The default is 0 (off). A value of 1 provides basic information. A value greater than 1 provides more verbose information. -@item show debug dwarf2-read -Show the current state of DWARF2 reader debugging. +@item show debug dwarf-read +Show the current state of DWARF reader debugging. @item set debug displaced @cindex displaced stepping debugging info Turns on or off display of @value{GDBN} debugging info for the @@ -34154,10 +34154,10 @@ that symbol is described. The type chain produced by this command is a recursive definition of the data type as stored in @value{GDBN}'s data structures, including its flags and contained types. -@kindex maint set dwarf2 always-disassemble -@kindex maint show dwarf2 always-disassemble -@item maint set dwarf2 always-disassemble -@item maint show dwarf2 always-disassemble +@kindex maint set dwarf always-disassemble +@kindex maint show dwarf always-disassemble +@item maint set dwarf always-disassemble +@item maint show dwarf always-disassemble Control the behavior of @code{info address} when using DWARF debugging information. @@ -34179,15 +34179,15 @@ Symbol "argc" is a complex DWARF expression: For more information on these expressions, see @uref{http://www.dwarfstd.org/, the DWARF standard}. -@kindex maint set dwarf2 max-cache-age -@kindex maint show dwarf2 max-cache-age -@item maint set dwarf2 max-cache-age -@itemx maint show dwarf2 max-cache-age -Control the DWARF 2 compilation unit cache. +@kindex maint set dwarf max-cache-age +@kindex maint show dwarf max-cache-age +@item maint set dwarf max-cache-age +@itemx maint show dwarf max-cache-age +Control the DWARF compilation unit cache. -@cindex DWARF 2 compilation units cache +@cindex DWARF compilation units cache In object files with inter-compilation-unit references, such as those -produced by the GCC option @samp{-feliminate-dwarf2-dups}, the DWARF 2 +produced by the GCC option @samp{-feliminate-dwarf2-dups}, the DWARF reader needs to frequently refer to previously read compilation units. This setting controls how long a compilation unit will remain in the cache if it is not referenced. A higher limit means that cached |