This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH v5 1/3] New remove-symbol-file command.


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]