aboutsummaryrefslogtreecommitdiff
path: root/gdb/nto-tdep.c
diff options
context:
space:
mode:
authorKris Warkentin <kewarken@qnx.com>2003-05-06 16:47:47 +0000
committerKris Warkentin <kewarken@qnx.com>2003-05-06 16:47:47 +0000
commit47979a4b15b56d6aea5fd872d02dbe9acfeea7f9 (patch)
tree016b185d36adb9facdd953ba28a8901bd826a5a7 /gdb/nto-tdep.c
parentc2967539ef59d9e11b5b15f7eb630555d64da887 (diff)
downloadgdb-47979a4b15b56d6aea5fd872d02dbe9acfeea7f9.zip
gdb-47979a4b15b56d6aea5fd872d02dbe9acfeea7f9.tar.gz
gdb-47979a4b15b56d6aea5fd872d02dbe9acfeea7f9.tar.bz2
Fixed some ARI hits
Diffstat (limited to 'gdb/nto-tdep.c')
-rw-r--r--gdb/nto-tdep.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c
index abf63b9..631290c 100644
--- a/gdb/nto-tdep.c
+++ b/gdb/nto-tdep.c
@@ -21,7 +21,7 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#include <sys/stat.h>
+#include "gdb_stat.h"
#include "gdb_string.h"
#include "nto-tdep.h"
#include "top.h"
@@ -309,13 +309,21 @@ static struct core_fns regset_core_fns = {
};
void
-_initialize_nto_tdep ()
+_initialize_nto_tdep (void)
{
+ /*
add_show_from_set (add_set_cmd ("nto-debug", class_maintenance, var_zinteger, (char *) &nto_internal_debugging, "Set QNX NTO internal debugging.\n\
When non-zero, nto specific debug info is\n\
displayed. Different information is displayed\n\
for different positive values.", &setdebuglist),
&showdebuglist);
+ */
+ add_setshow_cmd ("nto-debug", class_maintenance, var_zinteger,
+ &nto_internal_debugging, "Set QNX NTO internal debugging.\n\
+When non-zero, nto specific debug info is\n\
+displayed. Different information is displayed\n\
+for different positive values.", "Show QNX NTO internal debugging.\n",
+ NULL, NULL, &setdebuglist, &showdebuglist);
/* We use SIG45 for pulses, or something, so nostop, noprint
and pass them. */