aboutsummaryrefslogtreecommitdiff
path: root/gdb/sun386-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/sun386-xdep.c
parent573da2f371655db279fe819e0ef555d203b4a9d8 (diff)
downloadgdb-7919c3ed86bcf8aa2fafe4284ec6d0453e5d993e.zip
gdb-7919c3ed86bcf8aa2fafe4284ec6d0453e5d993e.tar.gz
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/sun386-xdep.c')
-rw-r--r--gdb/sun386-xdep.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/gdb/sun386-xdep.c b/gdb/sun386-xdep.c
index 0a35647..b56a159 100644
--- a/gdb/sun386-xdep.c
+++ b/gdb/sun386-xdep.c
@@ -41,9 +41,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/core.h>
+
void
-fetch_inferior_registers ()
+fetch_inferior_registers (regno)
+ int regno;
{
struct regs inferior_registers;
struct fp_state inferior_fp_registers;
@@ -67,6 +69,7 @@ fetch_inferior_registers ()
If REGNO is -1, do this for all registers.
Otherwise, REGNO specifies which register (so we can save time). */
+void
store_inferior_registers (regno)
int regno;
{
@@ -255,12 +258,15 @@ double_to_i387 (from, to)
/* These functions shouldn't be called when we're cross-debugging. */
+/* ARGSUSED */
void
-fetch_inferior_registers ()
+fetch_inferior_registers (regno)
+ int regno;
{
}
/* ARGSUSED */
+void
store_inferior_registers (regno)
int regno;
{
@@ -268,10 +274,11 @@ store_inferior_registers (regno)
/* ARGSUSED */
void
-fetch_core_registers (core_reg_sect, core_reg_size, which)
+fetch_core_registers (core_reg_sect, core_reg_size, which, reg_addr)
char *core_reg_sect;
unsigned core_reg_size;
int which;
+ unsigned int reg_addr; /* Unused in this version */
{
}