mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
ravenscar/sparc: cannot fetch registers from non-active thread
gdb/ChangeLog: * ravenscar-sparc-thread.c (supply_register_at_address): Fix passing of buf in call to regcache_raw_supply.
This commit is contained in:
parent
200e3f16e7
commit
da700e1a61
@ -1,3 +1,8 @@
|
||||
2010-11-22 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* ravenscar-sparc-thread.c (supply_register_at_address):
|
||||
Fix passing of buf in call to regcache_raw_supply.
|
||||
|
||||
2010-11-20 Ian Lance Taylor <iant@google.com>
|
||||
|
||||
* configure.ac: Only disable a language library if no language needs
|
||||
|
@ -69,7 +69,7 @@ supply_register_at_address (struct regcache *regcache, int regnum,
|
||||
|
||||
buf = (char *) alloca (buf_size);
|
||||
read_memory (register_addr, buf, buf_size);
|
||||
regcache_raw_supply (regcache, regnum, &buf);
|
||||
regcache_raw_supply (regcache, regnum, buf);
|
||||
}
|
||||
|
||||
/* Return true if, for a non-running thread, REGNUM has been saved on the
|
||||
|
Loading…
Reference in New Issue
Block a user