[RFA/doco+NEWES] Remove "add-shared-symbol-files", "dll-symbols" and "assf" commands doc.

Message ID 1419925466-15745-1-git-send-email-brobecker@adacore.com
State New, archived
Headers

Commit Message

Joel Brobecker Dec. 30, 2014, 7:44 a.m. UTC
  This patch removes documentation from some commands whose support has
been recently removed.

gdb/ChangeLog:

        * NEWS: Document removal of "dll-symbols", "add-shared-symbol-files"
        and "assf" commands.

gdb/doc/ChangeLog:

        * gdb.texinfo (Files): Remove documentation of the
        "add-shared-symbol-files" and "assf" commands.
        (Cygwin Native): Remove documentation of the "dll-symbols"
        command.

Tested by rebuilding the documentation in all formats.

OK to apply?
Thank you,
  

Comments

Eli Zaretskii Dec. 30, 2014, 3:43 p.m. UTC | #1
> From: Joel Brobecker <brobecker@adacore.com>
> Date: Tue, 30 Dec 2014 11:44:26 +0400
> 
> This patch removes documentation from some commands whose support has
> been recently removed.
> 
> gdb/ChangeLog:
> 
>         * NEWS: Document removal of "dll-symbols", "add-shared-symbol-files"
>         and "assf" commands.
> 
> gdb/doc/ChangeLog:
> 
>         * gdb.texinfo (Files): Remove documentation of the
>         "add-shared-symbol-files" and "assf" commands.
>         (Cygwin Native): Remove documentation of the "dll-symbols"
>         command.
> 
> Tested by rebuilding the documentation in all formats.
> 
> OK to apply?

Yes, thanks.
  
Joel Brobecker Dec. 31, 2014, 7:14 a.m. UTC | #2
> > gdb/ChangeLog:
> > 
> >         * NEWS: Document removal of "dll-symbols", "add-shared-symbol-files"
> >         and "assf" commands.
> > 
> > gdb/doc/ChangeLog:
> > 
> >         * gdb.texinfo (Files): Remove documentation of the
> >         "add-shared-symbol-files" and "assf" commands.
> >         (Cygwin Native): Remove documentation of the "dll-symbols"
> >         command.
> > 
> > Tested by rebuilding the documentation in all formats.
> > 
> > OK to apply?
> 
> Yes, thanks.

Thank you, Eli. Pushed to master.
  

Patch

diff --git a/gdb/NEWS b/gdb/NEWS
index c34cf2b..9a668c4 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -109,6 +109,10 @@  SGI Irix-6.x				mips-*-irix6*
 VAX running (4.2 - 4.3 Reno) BSD 	vax-*-bsd*
 VAX running Ultrix 			vax-*-ultrix*
 
+* The "dll-symbols" command, and its two aliases ("add-shared-symbol-files"
+  and "assf"), have been removed.  Use the "sharedlibrary" command, or
+  its alias "share", instead.
+
 *** Changes in GDB 7.8
 
 * New command line options
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index e086c33..054591a 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -17390,22 +17390,6 @@  evaluation yields the address of the file's shared object file header.
 For this command to work, you must have used @code{symbol-file} or
 @code{exec-file} commands in advance.
 
-@kindex add-shared-symbol-files
-@kindex assf
-@item add-shared-symbol-files @var{library-file}
-@itemx assf @var{library-file}
-This command is deprecated and will be removed in future versions
-of @value{GDBN}.  Use the @code{sharedlibrary} command instead.
-
-The @code{add-shared-symbol-files} command can currently be used only
-in the Cygwin build of @value{GDBN} on MS-Windows OS, where it is an
-alias for the @code{dll-symbols} command (@pxref{Cygwin Native}).
-@value{GDBN} automatically looks for shared libraries, however if
-@value{GDBN} does not find yours, you can invoke
-@code{add-shared-symbol-files}.  It takes one argument: the shared
-library's file name.  @code{assf} is a shorthand alias for
-@code{add-shared-symbol-files}.
-
 @kindex section
 @item section @var{section} @var{addr}
 The @code{section} command changes the base address of the named
@@ -20378,14 +20362,6 @@  selector for 32-bit programs and @code{$gs} for 64-bit programs).
 @item info dll
 This is a Cygwin-specific alias of @code{info shared}.
 
-@kindex dll-symbols
-@item dll-symbols
-This command is deprecated and will be removed in future versions
-of @value{GDBN}.  Use the @code{sharedlibrary} command instead.
-
-This command loads symbols from a dll similarly to
-add-sym command but without the need to specify a base address.
-
 @kindex set cygwin-exceptions
 @cindex debugging the Cygwin DLL
 @cindex Cygwin DLL, debugging