From 7f39f34a0e93237960f3be8b8cf3858b4d5ae448 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Tue, 23 Nov 2010 00:55:08 +0000 Subject: [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. --- gdb/ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'gdb/ChangeLog') 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 + * 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 + * ravenscar-sparc-thread.c (supply_register_at_address): Fix passing of buf in call to regcache_raw_supply. -- cgit v1.1