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: [RFA/Windows] Remove ADD_SHARED_SYMBOL_FILES macro


Thanks for relabelling the subject so that I'd notice it.

On Fri, May 22, 2009 at 08:30:42AM -0700, Joel Brobecker wrote:
>> 2009-05-15  Pierre Muller  <muller@ics.u-strasbg.fr>
>> 
>> 	* symfile.c (add_shared_symbol_files_command): Remove
>> 	prototype and function.
>> 	(_initialize _symfile): Move "add-shared-symbol-files"
>> 	command and "assf" alias.
>
>This part is fine.
>
>> 	* windows-nat.c (_initialize_windows_nat): to here.
>
>This part, however, is unnecessary, I think.  There is already a command
>called dll-symbols that calls the very same function (dll_symbol_command).
>My suggestion would be to delete the add-shared-symbols-files entirely,
>or to make it a deprecated alias to dll-symbols.
>
>Chris, what do you think?

I don't know enough about how other people use this command.  I use
dll-symbols all of the time (for one specific dll which shall go
unamed).  I don't know if people are using other commands instead so I
don't think it can be deleted.  Making it an alias makes sense, though.

With that change, I'm fine with checking this in.

cgf


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