aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-xdep.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-02-21 01:33:14 +0000
committerJohn Gilmore <gnu@cygnus>1992-02-21 01:33:14 +0000
commit7ed0f002ede4baa5bba71173818d14b818184410 (patch)
tree08d02612b42adabd853e3e2185b0f558e85cd385 /gdb/sparc-xdep.c
parent75af490bd2b263be24c7e3545f3afba862df7819 (diff)
downloadgdb-7ed0f002ede4baa5bba71173818d14b818184410.zip
gdb-7ed0f002ede4baa5bba71173818d14b818184410.tar.gz
gdb-7ed0f002ede4baa5bba71173818d14b818184410.tar.bz2
* core.c, exec.c, infrun.c, inftarg.c, language.c, remote.c,
signame.c, sparc-xdep.c: Prototypes for all static functions. Lint.
Diffstat (limited to 'gdb/sparc-xdep.c')
-rw-r--r--gdb/sparc-xdep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/sparc-xdep.c b/gdb/sparc-xdep.c
index e85caac..8fb5bb0 100644
--- a/gdb/sparc-xdep.c
+++ b/gdb/sparc-xdep.c
@@ -1,5 +1,5 @@
/* Host-dependent code for SPARC host systems, for GDB, the GNU debugger.
- Copyright 1986, 1987, 1989, 1990, 1991 Free Software Foundation, Inc.
+ Copyright 1986, 1987, 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
This file is part of GDB.
@@ -140,7 +140,7 @@ fetch_inferior_registers (regno)
If REGNO is -1, do this for all registers.
Otherwise, REGNO specifies which register (so we can save time). */
-int
+void
store_inferior_registers (regno)
int regno;
{
@@ -181,7 +181,7 @@ store_inferior_registers (regno)
else
{
deferred_stores |= wanna_store;
- return 0;
+ return;
}
}
@@ -241,14 +241,14 @@ store_inferior_registers (regno)
ptrace (PTRACE_SETFPREGS, inferior_pid, &inferior_fp_registers))
perror("ptrace_setfpregs");
}
- return 0;
}
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 */
{
if (which == 0) {