This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [patch v4 3/3] Documentation for the remove-symbol-file command.
- From: "Blanc, Nicolas" <nicolas dot blanc at intel dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, "palves at redhat dot com" <palves at redhat dot com>, "tromey at redhat dot com" <tromey at redhat dot com>, "yao at codesourcery dot com" <yao at codesourcery dot com>
- Date: Wed, 29 May 2013 17:10:59 +0000
- Subject: RE: [patch v4 3/3] Documentation for the remove-symbol-file command.
- References: <1369818805-14288-1-git-send-email-nicolas dot blanc at intel dot com> <1369818805-14288-4-git-send-email-nicolas dot blanc at intel dot com> <83ip216aks dot fsf at gnu dot org>
>> 2013-04-05 Nicolas Blanc <nicolas.blanc@intel.com>
>>
>> * NEWS: Add description of the remove-symbol-file command.
>> gdb/doc
>> * gdb.texinfo (Commands to Specify Files): Add description
>> of the remove-symbol-file command.
> Thanks. This is OK, but wouldn't it be even better to mention "info shared" as the means to get the address of a file?
Files added via the add-symbol-file command are not listed by "info shared". GDB has no command for
listing files that have been added via add-symbol-file, unfortunately.
But note that if the user needs to add a file manually then he certainly has a side channel for getting
the symbol-file information. For instance, in the test I submitted GDB reads the address from the debuggee.
Regards,
Nicolas
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052