From 0bab6cf11655d310690e48d7c07b4aa28a87026d Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Wed, 4 Mar 2020 16:27:56 +0100 Subject: [PATCH] [gdb/doc] Remove trailing done from "Reading symbols from" lines 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. gdb/doc/ChangeLog: 2020-03-04 Tom de Vries * gdb.texinfo: Remove trailing "done." in "Reading symbols from" lines. * python.texi: Same. --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdb.texinfo | 4 ++-- gdb/doc/python.texi | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 95b6843c15f..a3a89f1dcff 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2020-03-04 Tom de Vries + + * gdb.texinfo: Remove trailing "done." in "Reading symbols from" lines. + * python.texi: Same. + 2020-03-02 Andrew Burgess * gdb.texinfo (Command History): Extend description for diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 32e419ead02..1fef9dc0b0e 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 0b8e8808fff..76cdf7f5419 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 -- 2.30.2