This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [PATCH v5 1/3] New remove-symbol-file command.
- From: "Blanc, Nicolas" <nicolas dot blanc at intel dot com>
- To: Doug Evans <dje at google dot com>, Pedro Alves <palves at redhat dot com>, Tom Tromey <tromey at redhat dot com>, Eli Zaretskii <eliz at gnu dot org>, Yao Qi <yao at codesourcery dot com>, "lgustavo at codesourcery dot com" <lgustavo at codesourcery dot com>
- Cc: gdb-patches <gdb-patches at sourceware dot org>
- Date: Tue, 4 Jun 2013 16:40:06 +0000
- Subject: RE: [PATCH v5 1/3] New remove-symbol-file command.
- References: <1370021520-23150-1-git-send-email-nicolas dot blanc at intel dot com> <1370021520-23150-2-git-send-email-nicolas dot blanc at intel dot com> <CADPb22TpOqZy4hiPOBLHm+_4TSB_tMJ+ak5taMTJr6b3EC5TLg at mail dot gmail dot com>
> Still, IWBN to be able to specify a file name. Maybe even a regex.
> That doesn't have to be implemented today, but IWBN to confirm it can be added later without any trouble.
> Presumably "remove-symbol-file -r" will cause an error, and thus tomorrow we could implement "remove-symbol-file -r regex".
> ?
>
> OTOH, one could have "remove-symbol-file file" or "remove-symbol-file regex", and require the address version to be specified as "remove-symbol-file -a addr".
>
> Which will be more common?
It would be ok for me to support the following command switches:
remove-symbol-file addr ADDR
remove-symbol-file file FILE
So for instance remove-symbol-file file /tmp/myfile.so would then
remove the first user-added occurrence of /tmp/myfile.so.
Additional switches and options could then be implemented later on.
Please let me know if you would be happy with this change. Does
anyone have an objection to the syntax above?
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