From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 114278 invoked by alias); 4 Mar 2020 09:39:09 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 86202 invoked by uid 89); 4 Mar 2020 09:36:09 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.1 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS autolearn=ham version=3.3.1 spammy=ultimate, Reading, UD:gdb X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 04 Mar 2020 09:36:07 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id A17C3AC84; Wed, 4 Mar 2020 09:36:05 +0000 (UTC) Date: Wed, 04 Mar 2020 09:39:00 -0000 From: Tom de Vries To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH][gdb/doc] Remove trailing done from "Reading symbols from" lines Message-ID: <20200304093602.GA7146@delia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-IsSubscribed: yes X-SW-Source: 2020-03/txt/msg00081.txt 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 * 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