diff mbox

[gdb/doc] Remove trailing done from "Reading symbols from" lines

Message ID 20200304093602.GA7146@delia
State New
Headers show

Commit Message

Tom de Vries March 4, 2020, 9:36 a.m. UTC
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(-)

Comments

Eli Zaretskii March 4, 2020, 3:24 p.m. UTC | #1
> Date: Wed, 4 Mar 2020 10:36:03 +0100
> From: Tom de Vries <tdevries@suse.de>
> Cc: Tom Tromey <tom@tromey.com>
> 
> 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.

Thanks, this is OK.  (It actually could be considered an obvious
patch, I think.)
diff mbox

Patch

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