projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove regcache_cooked_write
[deliverable/binutils-gdb.git]
/
gdb
/
nios2-tdep.c
diff --git
a/gdb/nios2-tdep.c
b/gdb/nios2-tdep.c
index e1cbd9763301571e15b8ee12146803d315bb9601..91b4381f0b753bd3b8e6a3fdf8de33bc6e83e483 100644
(file)
--- a/
gdb/nios2-tdep.c
+++ b/
gdb/nios2-tdep.c
@@
-228,13
+228,13
@@
nios2_store_return_value (struct gdbarch *gdbarch, struct type *valtype,
/* Return values of up to 8 bytes are returned in $r2 $r3. */
if (len <= register_size (gdbarch, NIOS2_R2_REGNUM))
/* Return values of up to 8 bytes are returned in $r2 $r3. */
if (len <= register_size (gdbarch, NIOS2_R2_REGNUM))
- regcache
_cooked_write (regcache,
NIOS2_R2_REGNUM, valbuf);
+ regcache
->cooked_write (
NIOS2_R2_REGNUM, valbuf);
else
{
gdb_assert (len <= (register_size (gdbarch, NIOS2_R2_REGNUM)
+ register_size (gdbarch, NIOS2_R3_REGNUM)));
else
{
gdb_assert (len <= (register_size (gdbarch, NIOS2_R2_REGNUM)
+ register_size (gdbarch, NIOS2_R3_REGNUM)));
- regcache
_cooked_write (regcache,
NIOS2_R2_REGNUM, valbuf);
- regcache
_cooked_write (regcache,
NIOS2_R3_REGNUM, valbuf + 4);
+ regcache
->cooked_write (
NIOS2_R2_REGNUM, valbuf);
+ regcache
->cooked_write (
NIOS2_R3_REGNUM, valbuf + 4);
}
}
}
}
This page took
0.024068 seconds
and
4
git commands to generate.