summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-01-12 20:13:25 +0000
committerAndrew Cagney <cagney@redhat.com>2004-01-12 20:13:25 +0000
commitd03a388680fda22107d0e0a107f9d692ddcaf810 (patch)
treee223bd466f7aeecce8287abb72f0937dc8297e63 /gdb
parentcf796679d8a539bb9e748a131b510c2c37817557 (diff)
downloadgdb-d03a388680fda22107d0e0a107f9d692ddcaf810.tar.gz
2004-01-12 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_pseudo_register_read): Don't return a value, the function is void. (mips_pseudo_register_write): Ditto.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/mips-tdep.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 208ffedbe3a..0f8d973647b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2004-01-12 Andrew Cagney <cagney@redhat.com>
+ * mips-tdep.c (mips_pseudo_register_read): Don't return a value,
+ the function is void.
+ (mips_pseudo_register_write): Ditto.
+
+2004-01-12 Andrew Cagney <cagney@redhat.com>
+
* stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO
call. Never defined.
* sparc-tdep.h (struct frame_info): Add opaque declaration.
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index 9b7341da76e..fafac66be9d 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -556,7 +556,7 @@ mips_pseudo_register_read (struct gdbarch *gdbarch, struct regcache *regcache,
int rawnum = cookednum % NUM_REGS;
gdb_assert (cookednum >= NUM_REGS && cookednum < 2 * NUM_REGS);
if (register_size (gdbarch, rawnum) == register_size (gdbarch, cookednum))
- return regcache_raw_read (regcache, rawnum, buf);
+ regcache_raw_read (regcache, rawnum, buf);
else if (register_size (gdbarch, rawnum) > register_size (gdbarch, cookednum))
{
if (gdbarch_tdep (gdbarch)->mips64_transfers_32bit_regs_p
@@ -576,7 +576,7 @@ mips_pseudo_register_write (struct gdbarch *gdbarch, struct regcache *regcache,
int rawnum = cookednum % NUM_REGS;
gdb_assert (cookednum >= NUM_REGS && cookednum < 2 * NUM_REGS);
if (register_size (gdbarch, rawnum) == register_size (gdbarch, cookednum))
- return regcache_raw_write (regcache, rawnum, buf);
+ regcache_raw_write (regcache, rawnum, buf);
else if (register_size (gdbarch, rawnum) > register_size (gdbarch, cookednum))
{
if (gdbarch_tdep (gdbarch)->mips64_transfers_32bit_regs_p