mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-11 13:02:10 +08:00
* remote.c (process_stop_reply): Access expedited target registers
in target_gdbarch.
This commit is contained in:
parent
74bdfecf08
commit
217f1f7954
@ -1,3 +1,8 @@
|
||||
2009-07-14 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* remote.c (process_stop_reply): Access expedited target registers
|
||||
in target_gdbarch.
|
||||
|
||||
2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
Fix memory access from signed 32bit inferior registers on 64bit GDB.
|
||||
|
@ -4591,14 +4591,15 @@ process_stop_reply (struct stop_reply *stop_reply,
|
||||
/* Expedited registers. */
|
||||
if (stop_reply->regcache)
|
||||
{
|
||||
struct regcache *regcache
|
||||
= get_thread_arch_regcache (ptid, target_gdbarch);
|
||||
cached_reg_t *reg;
|
||||
int ix;
|
||||
|
||||
for (ix = 0;
|
||||
VEC_iterate(cached_reg_t, stop_reply->regcache, ix, reg);
|
||||
ix++)
|
||||
regcache_raw_supply (get_thread_regcache (ptid),
|
||||
reg->num, reg->data);
|
||||
regcache_raw_supply (regcache, reg->num, reg->data);
|
||||
VEC_free (cached_reg_t, stop_reply->regcache);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user