diff --git a/ChangeLog b/ChangeLog index 3a200254376..3dc2de0080c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-11-22 Joel Brobecker + + * ravenscar-sparc-thread.c (supply_register_at_address): + Fix passing of buf in call to regcache_raw_supply. + 2010-11-20 Ian Lance Taylor * 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 197b74515f9..c799e79676a 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