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: RFC: remove "info dll" alias to "info sharedlibraries"?


On 12/31/2014 07:31 AM, Joel Brobecker wrote:
>> What's the basis for believing that "we've already trained the users"?
> 
> We've made the "dll-*" commands deprecated, and now just removed them.
> 
>> With a little poking around the net, I did notice a couple examples
>> where people were reporting "info dll" results.  But in practice I
>> suspect that most GDB-using Windows developers are working on multiple
>> platforms, and they're likely to prefer commands that work everywhere.
> 
> I only found a couple of instances myself, from 2005 and 2008.
> 
>> On the other hand, "info dll" has been documented for a long time,
>> and is only one line of extra code - seems like more work to remove
>> than to leave it alone.
>>
>> I do think we can dump the hook and just use add_info_alias.  I don't
>> remember exactly why the hook seemed necessary in the first place, but
>> the timing suggests I added it for gdbtk or MPW (or both. :-) ).
> 
> But I agree it's been documented for a long time. Let's see if I
> can just keep the alias without the hook (on my next rainy day :-)).

If it stays, it's best to move it to windows-tdep.c so that it's
available when cross debugging Windows from a non-Windows host too.
Or to solib.c, even.

Thanks,
Pedro Alves


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