aboutsummaryrefslogtreecommitdiff
path: root/gdb/ravenscar-thread.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:34:09 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:45:53 -0700
commitc15906d8e64c7083787ae1548f614f2938089771 (patch)
tree5d9adcc0703cd1c1b34619cef9513390acf87e0c /gdb/ravenscar-thread.c
parentdaf5e9b64c8e2c130a433c0ddbf73522dc321295 (diff)
downloadgdb-c15906d8e64c7083787ae1548f614f2938089771.zip
gdb-c15906d8e64c7083787ae1548f614f2938089771.tar.gz
gdb-c15906d8e64c7083787ae1548f614f2938089771.tar.bz2
Add target_ops argument to to_extra_thread_info
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_extra_thread_info>: Add argument. (target_extra_thread_info): Add argument. * target.c (update_current_target): Update. * remote.c (remote_threads_extra_info): Add 'self' argument. * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self' argument. * nto-tdep.h (nto_extra_thread_info): Add 'self' argument. * nto-tdep.c (nto_extra_thread_info): Add 'self' argument. * linux-thread-db.c (thread_db_extra_thread_info): Add 'self' argument. * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self' argument. * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self' argument. * aix-thread.c (aix_thread_extra_thread_info): Add 'self' argument.
Diffstat (limited to 'gdb/ravenscar-thread.c')
-rw-r--r--gdb/ravenscar-thread.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/ravenscar-thread.c b/gdb/ravenscar-thread.c
index 67a101b..cf548e7 100644
--- a/gdb/ravenscar-thread.c
+++ b/gdb/ravenscar-thread.c
@@ -54,7 +54,8 @@ static const char ravenscar_runtime_initializer[] =
static void ravenscar_find_new_threads (struct target_ops *ops);
static ptid_t ravenscar_running_thread (void);
-static char *ravenscar_extra_thread_info (struct thread_info *tp);
+static char *ravenscar_extra_thread_info (struct target_ops *self,
+ struct thread_info *tp);
static int ravenscar_thread_alive (struct target_ops *ops, ptid_t ptid);
static void ravenscar_fetch_registers (struct target_ops *ops,
struct regcache *regcache, int regnum);
@@ -240,7 +241,7 @@ ravenscar_running_thread (void)
}
static char *
-ravenscar_extra_thread_info (struct thread_info *tp)
+ravenscar_extra_thread_info (struct target_ops *self, struct thread_info *tp)
{
return "Ravenscar task";
}