public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* RFC: remove "info dll" alias to "info sharedlibraries"?
@ 2014-12-30  7:54 Joel Brobecker
  2014-12-30 23:22 ` Stan Shebs
  0 siblings, 1 reply; 5+ messages in thread
From: Joel Brobecker @ 2014-12-30  7:54 UTC (permalink / raw)
  To: gdb-patches

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-05 17:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-30  7:54 RFC: remove "info dll" alias to "info sharedlibraries"? Joel Brobecker
2014-12-30 23:22 ` Stan Shebs
2014-12-31  7:31   ` Joel Brobecker
2015-01-05 17:35     ` Pedro Alves
2015-01-05 17:44       ` Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).