aboutsummaryrefslogtreecommitdiff
path: root/gdb/ultra3-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/ultra3-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/ultra3-xdep.c')
-rw-r--r--gdb/ultra3-xdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/ultra3-xdep.c b/gdb/ultra3-xdep.c
index 35eff11..505df6a 100644
--- a/gdb/ultra3-xdep.c
+++ b/gdb/ultra3-xdep.c
@@ -156,7 +156,7 @@ fetch_inferior_registers (regno)
* NOTE: Assumes AMD's binary compatibility standard.
*/
-int
+void
store_inferior_registers (regno)
int regno;
{
@@ -166,7 +166,7 @@ store_inferior_registers (regno)
if (regno >= 0)
{
if (CANNOT_STORE_REGISTER(regno))
- return 0; /* Pretend success */
+ return;
regaddr = register_addr (regno, 0);
errno = 0;
ptrace (PT_WRITE_U, inferior_pid,(int*)regaddr,read_register(regno));
@@ -209,7 +209,7 @@ store_inferior_registers (regno)
{
sprintf (buf, "writing all special registers");
perror_with_name (buf);
- return -1;
+ return;
}
#else
store_inferior_registers(GR1_REGNUM);
@@ -229,13 +229,13 @@ store_inferior_registers (regno)
store_inferior_registers(FC_REGNUM);
#endif /* ULTRA3 */
}
- return 0;
}
/*
* Read AMD's Binary Compatibilty Standard conforming core file.
* struct ptrace_user is the first thing in the core file
*/
+
void
fetch_core_registers ()
{