From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 57FE13858C33; Mon, 14 Aug 2023 16:27:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 57FE13858C33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1692030432; bh=2vCGs9uQkaToS6lb/cubUuKvevdzi6INuF7q+TVVxzw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=J9VnFnqRvRNVxPcLFjuKjLUnRjSWiz3XJRfXXU3IrmVR5MmGpIg1PW4zbs6bUcobN PHPMhIvRpokgAjvkGk12wceXv72fqNuiSG79KogibRl1wxOVEYxElTlJQeuHO+l170 o96dGAo5Oz+ci3ECFkzQNLZ6X0xI/0Q+KmjoAty4= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/30742] [gdb/help] help "maint print symbols"/"help maint print psymbols" mentions minimal symbols Date: Mon, 14 Aug 2023 16:27:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30742 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tom de Vries : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D980111642db4= 4891500f53c12a939487d95deb68 commit 980111642db44891500f53c12a939487d95deb68 Author: Tom de Vries Date: Mon Aug 14 18:27:02 2023 +0200 [gdb] Fix maint print symbols/psymbols help text Consider the help text of "maint print symbols": ... (gdb) help maint print symbols Print dump of current symbol definitions. Usage: mt print symbols [-pc ADDRESS] [--] [OUTFILE] mt print symbols [-objfile OBJFILE] [-source SOURCE] [--] [OUTFI= LE] Entries in the full symbol table are dumped to file OUTFILE, or the terminal if OUTFILE is unspecified. If ADDRESS is provided, dump only the file for that address. If SOURCE is provided, dump only that file's symbols. If OBJFILE is provided, dump only that file's minimal symbols. ... and "maint print psymbols": ... (gdb) help maint print psymbols Print dump of current partial symbol definitions. Usage: mt print psymbols [-objfile OBJFILE] [-pc ADDRESS] [--] [OUTFILE] mt print psymbols [-objfile OBJFILE] [-source SOURCE] [--] [OUTF= ILE] Entries in the partial symbol table are dumped to file OUTFILE, or the terminal if OUTFILE is unspecified. If ADDRESS is provided, dump only the file for that address. If SOURCE is provided, dump only that file's symbols. If OBJFILE is provided, dump only that file's minimal symbols. ... The OBJFILE lines mistakingly mention minimal symbols. Fix this by reformulating as "dump only that object file's symbols". Also make the ADDRESS lines more clear by using the formulation: "dump = only the symbols for the file with code at that address". Tested on x86_64-linux. Co-Authored-By: Eli Zaretskii PR gdb/30742 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30742 --=20 You are receiving this mail because: You are on the CC list for the bug.=