diff options
author | gdb-3.5 <gdb@fsf.org> | 1990-02-08 06:14:00 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-06-03 15:36:32 +0100 |
commit | 7a67dd45ca1c191a0220697a3ec9fa92993caf8c (patch) | |
tree | ea93641dd0b45fbca686b5e989b0f1085a7541b7 /gdb/convex-dep.c | |
parent | 1c997a4ae86938343edb715efc3fc742c5f668fe (diff) | |
download | gdb-7a67dd45ca1c191a0220697a3ec9fa92993caf8c.zip gdb-7a67dd45ca1c191a0220697a3ec9fa92993caf8c.tar.gz gdb-7a67dd45ca1c191a0220697a3ec9fa92993caf8c.tar.bz2 |
gdb-3.5
Diffstat (limited to 'gdb/convex-dep.c')
-rw-r--r-- | gdb/convex-dep.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/gdb/convex-dep.c b/gdb/convex-dep.c index 1b8e8d7..f09bee1 100644 --- a/gdb/convex-dep.c +++ b/gdb/convex-dep.c @@ -1,5 +1,5 @@ /* Convex stuff for GDB. - Copyright (C) 1989 Free Software Foundation, Inc. + Copyright (C) 1990 Free Software Foundation, Inc. This file is part of GDB. @@ -17,6 +17,7 @@ You should have received a copy of the GNU General Public License along with GDB; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include <stdio.h> #include "defs.h" #include "param.h" #include "command.h" @@ -26,7 +27,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "inferior.h" #include "wait.h" -#include <stdio.h> #include <signal.h> #include <fcntl.h> #include <a.out.h> @@ -220,7 +220,6 @@ extern int exec_mtime; /* Virtual addresses of bounds of the two areas of memory in the core file. NB: These variables are set to plausible but useless values on convex. */ - extern CORE_ADDR data_start; extern CORE_ADDR data_end; @@ -718,6 +717,7 @@ thread_continue (thread, step, signal) running; we will do a real wait, the thread will do something, and we will return that. */ +pid_t wait (w) union wait *w; { @@ -1774,13 +1774,12 @@ comm_registers_info (arg) if (arg) { - if (sscanf (arg, "0x%x", ®num) == 1) + if (sscanf (arg, "0x%x", ®num) == 1 + || sscanf (argc, "%d", ®num) == 1) { if (regnum > 0) regnum &= ~0x8000; } - else if (sscanf (arg, "%d", ®num) == 1) - ; else if (sscanf (arg, "$c%d", ®num) == 1) ; else if (sscanf (arg, "$C%d", ®num) == 1) @@ -1861,7 +1860,6 @@ psw_info (arg) }; long psw; - struct pswbit *p; if (arg) @@ -1948,4 +1946,3 @@ set parallel on normal mode, parallel execution on random available CPUs\n\ &cmdlist); } - |