From: John Gilmore Date: Mon, 8 Mar 1993 23:55:50 +0000 (+0000) Subject: Add `set print max-symbolic-offset' doc. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6344e2c7a7f4f54de32bf42408e61dc32d4c57c1;p=binutils-gdb.git Add `set print max-symbolic-offset' doc. --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 92b63ac9e4e..9245406c7e8 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +Mon Mar 8 15:52:18 1993 John Gilmore (gnu@cygnus.com) + + * gdb.texinfo: Add `set print max-symbolic-offset' doc. + Sun Feb 21 17:09:38 1993 Per Bothner (bothner@rtl.cygnus.com) * stabs.texinfo: Fix for array types to mention lower bounds. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index b7409cdfa36..4785863ad98 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -4767,7 +4767,7 @@ Show whether or not addresses are to be printed. @item set print array @itemx set print array on @kindex set print array -@value{GDBN} will pretty print arrays. This format is more convenient to read, +@value{GDBN} will pretty-print arrays. This format is more convenient to read, but uses more space. The default is off. @item set print array off @@ -4884,6 +4884,19 @@ and with @code{set print union off} in effect it would print @smallexample $1 = @{it = Tree, form = @{...@}@} @end smallexample + +@item set print max-symbolic-offset @var{maxoff} +@kindex set print max-symbolic-offset +Tell @value{GDBN} to only display the symbolic form of an address if the +offset between the closest earlier symbol and the address is less than +@var{maxoff}. The default is 0, which means to always print the +symbolic form of an address, if any symbol precedes it. + +@item show print max-symbolic-offset +@kindex show print max-symbolic-offset +Ask how large the maximum offset is that @value{GDBN} will print in a +symbolic address. + @end table @noindent