This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Remove gdb/nlm subdirectory
On 3/24/06, Daniel Jacobowitz <drow@false.org> wrote:
> I'm fine with that if you'd prefer. I think we can ignore its old
> configure file for now, then, instead of worrying about upgrading it to
> 2.5x (which started this discussion).
How's this, then?
src/gdb/ChangeLog:
2006-03-24 Jim Blandy <jimb@codesourcery.com>
* NEWS: Mention that the 'nlm' code is on its way out.
* configure.tgt: Print an error message when configured for a
'-netware' target, and suggest that the user delete the code to
build there.
Index: src/gdb/NEWS
===================================================================
--- src.orig/gdb/NEWS
+++ src/gdb/NEWS
@@ -48,6 +48,14 @@ GDB now builds as a cross debugger hoste
native console support, and remote communications using either
network sockets or serial ports.
+* OBSOLETE features
+
+The support for Netware Loadable Modules (the 'gdb/nlm' subdirectory)
+is obsolete, and will be removed in the next release. For now, the
+code is still present, but the GDB 'configure' script prints an error
+message when configured for 'i*86-*-netware', explaining how to enable
+the code.
+
* REMOVED features
The ARM rdi-share module.
Index: src/gdb/configure.tgt
===================================================================
--- src.orig/gdb/configure.tgt
+++ src/gdb/configure.tgt
@@ -98,6 +98,21 @@ i[34567]86-*-linux*) gdb_target=linux
i[34567]86-*-gnu*) gdb_target=i386gnu ;;
i[34567]86-*-netware*) gdb_target=i386
build_nlm=yes
+
+### To re-enable Netware support, delete this line and all subsequent lines
+### up to and including the line that says 'exit 1' below the error message.
+ cat >&2 <<END
+
+We plan to remove support for Netware loadable modules (the code in
+the 'nlm' subdirectory) after this release of GDB, unless we can find
+volunteers to maintain it. If you are interested, please send mail to
+'gdb@sourceware.org'.
+
+For now, if you want to build GDB on Netware, delete this code
+in 'gdb/configure.tgt', and try running 'configure' again.
+END
+ exit 1
+
;;
i[34567]86-*-cygwin*) gdb_target=cygwin ;;
i[34567]86-*-*) gdb_target=i386 ;;