aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-11-23 00:55:08 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-11-23 00:55:08 +0000
commit7f39f34a0e93237960f3be8b8cf3858b4d5ae448 (patch)
treed407fc52995eed9561acc386609ae25706bcb4b4 /gdb/ChangeLog
parentf3890d597d1a84c8c02225c1565c4e8b2876b453 (diff)
downloadgdb-7f39f34a0e93237960f3be8b8cf3858b4d5ae448.zip
gdb-7f39f34a0e93237960f3be8b8cf3858b4d5ae448.tar.gz
gdb-7f39f34a0e93237960f3be8b8cf3858b4d5ae448.tar.bz2
[Ada/ravenscar] New name for active-thread symbol
The GNAT Ravenscar implementation has recently been enhanced to allow programs using that runtime to run on multi-cpu systems. One of the changes that were made is that the name of the symbol we use to determine which task is the currently-running task has changed. This patch enhances the debugger to use the new name, and fallback on the old name if not found (this is for compatibility with older versions of the compiler/runtime). gdb/ChangeLog: * ravenscar-thread.c (running_thread_name): Change value. (read_thread_id): Remove advance declaration. (get_running_thread_msymbol): New function. (has_ravenscar_runtime): Use get_running_thread_msymbol to compute msym_running_thread. (get_running_thread_id): Renames read_thread_id. Slight modifications to not take any argument anymore, using get_running_thread_msymbol to determine which symbol to use instead. (ravenscar_running_thread): Use get_running_thread_id instead of read_thread_id.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b99f302..0ec2403 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,18 @@
2010-11-22 Joel Brobecker <brobecker@adacore.com>
+ * ravenscar-thread.c (running_thread_name): Change value.
+ (read_thread_id): Remove advance declaration.
+ (get_running_thread_msymbol): New function.
+ (has_ravenscar_runtime): Use get_running_thread_msymbol to
+ compute msym_running_thread.
+ (get_running_thread_id): Renames read_thread_id. Slight modifications
+ to not take any argument anymore, using get_running_thread_msymbol
+ to determine which symbol to use instead.
+ (ravenscar_running_thread): Use get_running_thread_id instead of
+ read_thread_id.
+
+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.