summaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-08-26 18:41:30 +0000
committerDoug Evans <dje@google.com>2013-08-26 18:41:30 +0000
commit12b928a0ea6e44543794108788fe0f192c0ebb4c (patch)
tree1b61cc17c89f391ea62c751e01d8ccbea149714d /gdb/doc
parent0cf29e3b390ef454beab3d5534a5b1a671631eb4 (diff)
downloadgdb-12b928a0ea6e44543794108788fe0f192c0ebb4c.tar.gz
* NEWS: Document "mt print objfiles" now takes optional regexp.
* symmisc.c (maintenance_print_objfiles): Argument is now an optional regexp of objfiles to print. (_initialize_symmisc): Update doc string for "mt print objfiles". doc/ * gdb.texinfo (Maintenance Commands): "maint print objfiles" now takes an optional regexp.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo9
2 files changed, 10 insertions, 4 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index eaaccd50821..61a6f4151ba 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2013-08-26 Doug Evans <dje@google.com>
+
+ * gdb.texinfo (Maintenance Commands): "maint print objfiles" now takes
+ an optional regexp.
+
2013-08-13 Tom Tromey <tromey@redhat.com>
* gdbint.texinfo (Testsuite): Use @table, not @itemize.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 6d5dec4813f..c88ee65a6fb 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -36820,10 +36820,11 @@ This command forces @value{GDBN} to flush its internal register cache.
@kindex maint print objfiles
@cindex info for known object files
-@item maint print objfiles
-Print a dump of all known object files. For each object file, this
-command prints its name, address in memory, and all of its psymtabs
-and symtabs.
+@item maint print objfiles @r{[}@var{regexp}@r{]}
+Print a dump of all known object files.
+If @var{regexp} is specified, only print object files whose names
+match @var{regexp}. For each object file, this command prints its name,
+address in memory, and all of its psymtabs and symtabs.
@kindex maint print section-scripts
@cindex info for known .debug_gdb_scripts-loaded scripts