aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2015-05-02 04:46:47 -0700
committerJoel Brobecker <brobecker@adacore.com>2015-05-06 10:47:20 -0700
commitb30a0bc387d63a28362bb08c351da32b50228530 (patch)
tree6dfcaf97371195e2641dc18243569f78077137ca /gdb/solib.c
parent0d495746bb7ac93f3270443cae4117d6ae69ea05 (diff)
downloadgdb-b30a0bc387d63a28362bb08c351da32b50228530.zip
gdb-b30a0bc387d63a28362bb08c351da32b50228530.tar.gz
gdb-b30a0bc387d63a28362bb08c351da32b50228530.tar.bz2
Make the "info dll" command available on all platform.
The "info dll", an alias of the "info sharedlibrary" command, is currently only defined in windows native versions. This patch makes it universally available by moving the alias declaration to solib.c, and adjusts the documentation accordingly. Making it universally available has two benefits: - Windows users moving to a Unix platforms are still able to use the same command for getting the list of shared libraries; - Unix to Windows cross debuggers now provide that command also. gdb/ChangeLog: * solib.c (_initialize_solib): Add "info dll" alias creation. * windows-nat.c (set_windows_aliases): Delete. (_initialize_windows_nat): Remove deprecated_init_ui_hook assignment. * NEWS: Add news entry about "info dll" now being available on all platforms. gdb/doc/ChangeLog: * gdb.texinfo (Files): Add "info dll" documentation. (Cygwin Native): Remove "info dll" documentation.
Diffstat (limited to 'gdb/solib.c')
-rw-r--r--gdb/solib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/solib.c b/gdb/solib.c
index 358a0a2..0010c2f 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -1675,6 +1675,7 @@ _initialize_solib (void)
_("Load shared object library symbols for files matching REGEXP."));
add_info ("sharedlibrary", info_sharedlibrary_command,
_("Status of loaded shared object libraries."));
+ add_info_alias ("dll", "sharedlibrary", 1);
add_com ("nosharedlibrary", class_files, no_shared_libraries,
_("Unload all shared object library symbols."));