diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-01-12 20:13:25 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-01-12 20:13:25 +0000 |
commit | de38af99476c3ecffc82b5b0f9ac7bf6ef9e337a (patch) | |
tree | 658fd56f092aabedc70679db11189eb21784acdc /gdb/mips-tdep.c | |
parent | 1a111ce38b9f7c030311b7f44be95e061e0efa91 (diff) | |
download | gdb-de38af99476c3ecffc82b5b0f9ac7bf6ef9e337a.zip gdb-de38af99476c3ecffc82b5b0f9ac7bf6ef9e337a.tar.gz gdb-de38af99476c3ecffc82b5b0f9ac7bf6ef9e337a.tar.bz2 |
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/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 9b7341d..fafac66 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 |