aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1993-03-08 23:55:50 +0000
committerJohn Gilmore <gnu@cygnus>1993-03-08 23:55:50 +0000
commit6344e2c7a7f4f54de32bf42408e61dc32d4c57c1 (patch)
tree644f741b742f66174f9384d4a6020888b6c88d41
parent0093d9e67fc57f60a2ccd973551093a5de395c12 (diff)
downloadgdb-6344e2c7a7f4f54de32bf42408e61dc32d4c57c1.zip
gdb-6344e2c7a7f4f54de32bf42408e61dc32d4c57c1.tar.gz
gdb-6344e2c7a7f4f54de32bf42408e61dc32d4c57c1.tar.bz2
Add `set print max-symbolic-offset' doc.
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdb.texinfo15
2 files changed, 18 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 92b63ac..9245406 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 b7409cd..4785863 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