mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 22:40:24 +00:00
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.
This commit is contained in:
parent
1a111ce38b
commit
de38af9947
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user