gdb/
authorYao Qi <yao@codesourcery.com>
Thu, 2 Aug 2012 09:27:15 +0000 (09:27 +0000)
committerYao Qi <yao@codesourcery.com>
Thu, 2 Aug 2012 09:27:15 +0000 (09:27 +0000)
* nto-tdep.c: Don't include cli/cli-decode.h and
cli/cli-cmds.h.
(_initialize_nto_tdep): Remove.
* nto-tdep.h (struct nto_target_ops) <internal_debugging>:
Remove field.
Remove macro nto_internal_debugging.

gdb/doc/
* gdb.texinfo (Native): Remove node Neutrino.

gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/nto-tdep.c
gdb/nto-tdep.h

index b8412b083d8dae9d7cfff517ca5b5e872809a892..d62a76c8b764f3c6ce8461f78e005cffc3c9878a 100644 (file)
@@ -1,3 +1,12 @@
+2012-08-02  Yao Qi  <yao@codesourcery.com>
+
+       * nto-tdep.c: Don't include cli/cli-decode.h and
+       cli/cli-cmds.h.
+       (_initialize_nto_tdep): Remove.
+       * nto-tdep.h (struct nto_target_ops) <internal_debugging>:
+       Remove field.
+       Remove macro nto_internal_debugging.
+
 2012-08-01  Richard Henderson  <rth@redhat.com>
 
        * configure.tgt (m32c-*-*) [gdb_target_obs]: Remove prologue-value.o.
index 40d60463bbb462c373e73ca72966375cca86bed1..90fb5f582bfd2fb2dab5a060cfe2cd149e442815 100644 (file)
@@ -1,3 +1,7 @@
+2012-08-02  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.texinfo (Native): Remove node Neutrino.
+
 2012-07-27  Yao Qi  <yao@codesourcery.com>
 
        * gdb.texinfo (IPA Protocol Commands): Document new command
index a4503bf949740fa9ec67bb10851501490af14468..15a9efd2f02db3d21da9a81fe83eb66031224dee 100644 (file)
@@ -18460,7 +18460,6 @@ configurations.
 * DJGPP Native::                Features specific to the DJGPP port
 * Cygwin Native::              Features specific to the Cygwin port
 * Hurd Native::                 Features specific to @sc{gnu} Hurd
-* Neutrino::                    Features specific to QNX Neutrino
 * Darwin::                     Features specific to Darwin
 @end menu
 
@@ -19239,25 +19238,6 @@ threads; you can then change the properties of individual threads with
 the non-default commands.
 @end table
 
-
-@node Neutrino
-@subsection QNX Neutrino
-@cindex QNX Neutrino
-
-@value{GDBN} provides the following commands specific to the QNX
-Neutrino target:
-
-@table @code
-@item set debug nto-debug
-@kindex set debug nto-debug
-When set to on, enables debugging messages specific to the QNX
-Neutrino support.
-
-@item show debug nto-debug
-@kindex show debug nto-debug
-Show the current state of QNX Neutrino messages.
-@end table
-
 @node Darwin
 @subsection Darwin
 @cindex Darwin
index 5e0c9105cf83d643bb0649df5da29f58a89b8849..fddd5482c4ff6853c8d6bb2218a661ed94101d0c 100644 (file)
@@ -24,8 +24,6 @@
 #include "gdb_string.h"
 #include "nto-tdep.h"
 #include "top.h"
-#include "cli/cli-decode.h"
-#include "cli/cli-cmds.h"
 #include "inferior.h"
 #include "gdbarch.h"
 #include "bfd.h"
@@ -393,22 +391,3 @@ nto_initialize_signals (void)
   signal_pass_update (SIGPHOTON, 1);
 #endif
 }
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_nto_tdep;
-
-void
-_initialize_nto_tdep (void)
-{
-  add_setshow_zinteger_cmd ("nto-debug", class_maintenance,
-                           &nto_internal_debugging, _("\
-Set QNX NTO internal debugging."), _("\
-Show QNX NTO internal debugging."), _("\
-When non-zero, nto specific debug info is\n\
-displayed. Different information is displayed\n\
-for different positive values."),
-                           NULL,
-                           NULL, /* FIXME: i18n: QNX NTO internal
-                                    debugging is %s.  */
-                           &setdebuglist, &showdebuglist);
-}
index f2c9c4e18cc3e80e7d5affb20da21e061adcc91c..18ee7167384fa820504d753527ba7f292db9389d 100644 (file)
@@ -31,9 +31,6 @@
 
 struct nto_target_ops
 {
-/* For 'maintenance debug nto-debug' command.  */
-  int internal_debugging;
-
 /* The CPUINFO flags from the remote.  Currently used by
    i386 for fxsave but future proofing other hosts.
    This is initialized in procfs_attach or nto_start_remote
@@ -79,8 +76,6 @@ struct nto_target_ops
 
 extern struct nto_target_ops current_nto_target;
 
-#define nto_internal_debugging (current_nto_target.internal_debugging)
-
 #define nto_cpuinfo_flags (current_nto_target.cpuinfo_flags)
 
 #define nto_cpuinfo_valid (current_nto_target.cpuinfo_valid)