mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-13 23:29:03 +00: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