[PATCH][gdb/doc] Remove trailing done from "Reading symbols from" lines
Tom de Vries
tdevries@suse.de
Wed Mar 4 09:39:00 GMT 2020
Hi,
Since commit 3453e7e409 'Clean up "Reading symbols" output' we no longer print
"done." after the "Reading symbols from" message:
...
$ gdb -q a.out
Reading symbols from a.out...
(gdb)
...
Update docs accordingly.
Build on x86_64-linux.
OK for trunk?
Thanks,
- Tom
[gdb/doc] Remove trailing done from "Reading symbols from" lines
gdb/doc/ChangeLog:
2020-03-04 Tom de Vries <tdevries@suse.de>
* gdb.texinfo: Remove trailing "done." in "Reading symbols from" lines.
* python.texi: Same.
---
gdb/doc/gdb.texinfo | 4 ++--
gdb/doc/python.texi | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 32e419ead0..1fef9dc0b0 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -20360,7 +20360,7 @@ that lies within the boundaries of this symbol file in memory. Example:
add symbol table from file "/home/user/gdb/mylib.so" at
.text_addr = 0x7ffff7ff9480
(y or n) y
-Reading symbols from /home/user/gdb/mylib.so...done.
+Reading symbols from /home/user/gdb/mylib.so...
(gdb) remove-symbol-file -a 0x7ffff7ff9480
Remove symbol table from file "/home/user/gdb/mylib.so"? (y or n) y
(gdb)
@@ -25980,7 +25980,7 @@ get loaded:
@smallexample
$ ./gdb -q ./gdb
-Reading symbols from /home/user/gdb/gdb...done.
+Reading symbols from /home/user/gdb/gdb...
warning: File "/home/user/gdb/gdb-gdb.gdb" auto-loading has been
declined by your `auto-load safe-path' set
to "$debugdir:$datadir/auto-load".
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index 0b8e8808ff..76cdf7f541 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -4280,7 +4280,7 @@ gdb.events.clear_objfiles.connect(clear_objfiles_handler)
gdb.events.new_objfile.connect(new_objfile_handler)
end
(gdb) file /tmp/hello
-Reading symbols from /tmp/hello...done.
+Reading symbols from /tmp/hello...
Computing the answer to the ultimate question ...
(gdb) python print gdb.current_progspace().expensive_computation
42
@@ -4419,7 +4419,7 @@ def new_objfile_handler(event):
gdb.events.new_objfile.connect(new_objfile_handler)
end
(gdb) file ./hello
-Reading symbols from ./hello...done.
+Reading symbols from ./hello...
(gdb) python print gdb.objfiles()[0].time_loaded
2014-10-09 11:41:36.770345
@end smallexample
More information about the Gdb-patches
mailing list