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]

RFC: remove "info dll" alias to "info sharedlibraries"?


I noticed that windows-nat's _init function makes use of a deprecated
feature:

  deprecated_init_ui_hook = set_windows_aliases;

... where set_windows_aliases just creates an "info dll" alias to
"info sharedlibraries". I think we can rid of the
deprecated_init_ui_hook by simply call add_info_alias in the _init
function, but I'm actually wondering why we wouldn't be able to
just deprecate and then delete the command altogether. We've already
trained the users to use the "sharedlibrary" command, so "info
sharedlibrary" should be easy, and it'll be more consistent with
other targets.

Thoughts? Unnecessary, if we can just call add_info_alias in
the _initialize function, maybe?

-- 
Joel


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