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_raw_supply
[deliverable/binutils-gdb.git]
/
gdb
/
score-tdep.c
diff --git
a/gdb/score-tdep.c
b/gdb/score-tdep.c
index aa50126916af4f1dac3fbf24ab54ff6322fee5aa..16bf00ea024e35d8fa9eb70bbb185fe3aa8f619b 100644
(file)
--- a/
gdb/score-tdep.c
+++ b/
gdb/score-tdep.c
@@
-445,8
+445,8
@@
score_xfer_register (struct regcache *regcache, int regnum, int length,
regcache->cooked_read_part (regnum, reg_offset, length,
readbuf + buf_offset);
if (writebuf != NULL)
regcache->cooked_read_part (regnum, reg_offset, length,
readbuf + buf_offset);
if (writebuf != NULL)
- regcache
_cooked_write_part (regcache,
regnum, reg_offset, length,
- writebuf + buf_offset);
+ regcache
->cooked_write_part (
regnum, reg_offset, length,
+ writebuf + buf_offset);
}
static enum return_value_convention
}
static enum return_value_convention
@@
-1428,9
+1428,8
@@
score7_linux_supply_gregset(const struct regset *regset,
collect function will store the PC in that slot. */
if ((regnum == -1 || regnum == SCORE_EPC_REGNUM)
&& size >= SCORE7_LINUX_EPC_OFFSET + 4)
collect function will store the PC in that slot. */
if ((regnum == -1 || regnum == SCORE_EPC_REGNUM)
&& size >= SCORE7_LINUX_EPC_OFFSET + 4)
- regcache_raw_supply (regcache, SCORE_EPC_REGNUM,
- (const gdb_byte *) buf
- + SCORE7_LINUX_EPC_OFFSET);
+ regcache->raw_supply
+ (SCORE_EPC_REGNUM, (const gdb_byte *) buf + SCORE7_LINUX_EPC_OFFSET);
}
static const struct regset score7_linux_gregset =
}
static const struct regset score7_linux_gregset =
This page took
0.024056 seconds
and
4
git commands to generate.