aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--gdb/ravenscar-sparc-thread.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3a20025..3dc2de0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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