diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2004-12-27 13:17:06 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2004-12-27 13:17:06 +0000 |
commit | 2ed3fb102e82ad2127a78a905dce5acf55afc729 (patch) | |
tree | b55832f88f0f339bfb56693aead72749739d66df /gnu/usr.bin/binutils/gdb/nto-tdep.c | |
parent | bafd719ae34a32376be8ae2ddd673e95254092b4 (diff) |
GDB 6.3 (excluding .info files)
Diffstat (limited to 'gnu/usr.bin/binutils/gdb/nto-tdep.c')
-rwxr-xr-x | gnu/usr.bin/binutils/gdb/nto-tdep.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/gnu/usr.bin/binutils/gdb/nto-tdep.c b/gnu/usr.bin/binutils/gdb/nto-tdep.c index 056b93f5b1a..50b4fc57629 100755 --- a/gnu/usr.bin/binutils/gdb/nto-tdep.c +++ b/gnu/usr.bin/binutils/gdb/nto-tdep.c @@ -1,6 +1,6 @@ /* nto-tdep.c - general QNX Neutrino target functionality. - Copyright 2003 Free Software Foundation, Inc. + Copyright 2003, 2004 Free Software Foundation, Inc. Contributed by QNX Software Systems Ltd. @@ -115,7 +115,7 @@ nto_find_and_open_solib (char *solib, unsigned o_flags, char **temp_pathname) sprintf (buf, path_fmt, arch_path, arch_path, arch_path, arch_path, arch_path); - return openp (buf, 1, solib, o_flags, 0, temp_pathname); + return openp (buf, OPF_TRY_CWD_FIRST, solib, o_flags, 0, temp_pathname); } void @@ -306,12 +306,15 @@ static struct core_fns regset_core_fns = { void _initialize_nto_tdep (void) { - add_setshow_cmd ("nto-debug", class_maintenance, var_zinteger, - &nto_internal_debugging, "Set QNX NTO internal debugging.\n\ + 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.", "Show QNX NTO internal debugging.\n", - NULL, NULL, &setdebuglist, &showdebuglist); +for different positive values.", "\ +QNX NTO internal debugging is %s.", + NULL, NULL, &setdebuglist, &showdebuglist); /* We use SIG45 for pulses, or something, so nostop, noprint and pass them. */ @@ -333,5 +336,5 @@ for different positive values.", "Show QNX NTO internal debugging.\n", #endif /* Register core file support. */ - add_core_fns (®set_core_fns); + deprecated_add_core_fns (®set_core_fns); } |