diff options
author | Joel Brobecker <brobecker@adacore.com> | 2015-05-02 04:46:47 -0700 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2015-05-06 10:47:20 -0700 |
commit | b30a0bc387d63a28362bb08c351da32b50228530 (patch) | |
tree | 6dfcaf97371195e2641dc18243569f78077137ca /gdb/doc | |
parent | 0d495746bb7ac93f3270443cae4117d6ae69ea05 (diff) | |
download | gdb-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/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index ef6534f..f374fea 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2015-05-06 Joel Brobecker <brobecker@adacore.com> + + * gdb.texinfo (Files): Add "info dll" documentation. + (Cygwin Native): Remove "info dll" documentation. + 2015-04-29 Doug Evans <dje@google.com> * python.texi (Xmethod API) <gdb.XMethodWorker.get_result_type>: diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 9e2787d..19d8bb3 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -17854,6 +17854,10 @@ Print the names of the shared libraries which are currently loaded that match @var{regex}. If @var{regex} is omitted then print all shared libraries that are loaded. +@kindex info dll +@item info dll @var{regex} +This is an alias of @code{info sharedlibrary}. + @kindex sharedlibrary @kindex share @item sharedlibrary @var{regex} @@ -20701,10 +20705,6 @@ This command displays thread specific information stored in the Thread Information Block (readable on the X86 CPU family using @code{$fs} selector for 32-bit programs and @code{$gs} for 64-bit programs). -@kindex info dll -@item info dll -This is a Cygwin-specific alias of @code{info shared}. - @kindex set cygwin-exceptions @cindex debugging the Cygwin DLL @cindex Cygwin DLL, debugging |