diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gdb/ravenscar-sparc-thread.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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 diff --git a/gdb/ravenscar-sparc-thread.c b/gdb/ravenscar-sparc-thread.c index 197b745..c799e79 100644 --- a/gdb/ravenscar-sparc-thread.c +++ b/gdb/ravenscar-sparc-thread.c @@ -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 |