aboutsummaryrefslogtreecommitdiff
path: root/gdb/symm-xdep.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-02-21 03:35:37 +0000
committerJohn Gilmore <gnu@cygnus>1992-02-21 03:35:37 +0000
commit7919c3ed86bcf8aa2fafe4284ec6d0453e5d993e (patch)
tree50ee9fb4fd3b30fb6b0a041774a8e593afc01442 /gdb/symm-xdep.c
parent573da2f371655db279fe819e0ef555d203b4a9d8 (diff)
downloadfsf-binutils-gdb-7919c3ed86bcf8aa2fafe4284ec6d0453e5d993e.zip
fsf-binutils-gdb-7919c3ed86bcf8aa2fafe4284ec6d0453e5d993e.tar.gz
fsf-binutils-gdb-7919c3ed86bcf8aa2fafe4284ec6d0453e5d993e.tar.bz2
* tm-sparc.h, tm-sysv4.h, solib.h: Move shared lib definitions
into solib.h. * sparc-pinsn.c, sparc-tdep.c, standalonec, sun3-xdep.c, sun386-xdep.c, symm-xdep.c, target.c, ultra3-xdep.c, utils.c, value.h: Prototypes for static functions; lint. * gdbtypes.h: Empty file to ease transition.
Diffstat (limited to 'gdb/symm-xdep.c')
-rw-r--r--gdb/symm-xdep.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/gdb/symm-xdep.c b/gdb/symm-xdep.c
index a0508a9..0d20c53 100644
--- a/gdb/symm-xdep.c
+++ b/gdb/symm-xdep.c
@@ -1,5 +1,5 @@
/* Sequent Symmetry host interface, for GDB when running under Unix.
- Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
+ Copyright 1986, 1987, 1989, 1991, 1992 Free Software Foundation, Inc.
This file is part of GDB.
@@ -37,10 +37,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sgtty.h>
#define TERMINAL struct sgttyb
-extern void print_387_control_word ();
-extern void print_387_status_word ();
-extern void i387_to_double (from, to);
+#include "gdbcore.h"
+void
store_inferior_registers(regno)
int regno;
{
@@ -112,7 +111,8 @@ int regno;
}
void
-fetch_inferior_registers()
+fetch_inferior_registers (regno)
+ int regno;
{
int i;
struct pt_regset regs;
@@ -148,8 +148,6 @@ fetch_inferior_registers()
/* Work with core dump and executable files, for GDB.
This code would be in core.c if it weren't machine-dependent. */
-#include "gdbcore.h"
-
void
core_file_command (filename, from_tty)
char *filename;