aboutsummaryrefslogtreecommitdiff
path: root/gdb/inf-ttrace.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/inf-ttrace.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/inf-ttrace.c')
-rw-r--r--gdb/inf-ttrace.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/inf-ttrace.c b/gdb/inf-ttrace.c
index d046bba..5e64d8d 100644
--- a/gdb/inf-ttrace.c
+++ b/gdb/inf-ttrace.c
@@ -1282,7 +1282,8 @@ inf_ttrace_thread_alive (struct target_ops *ops, ptid_t ptid)
INFO. */
static char *
-inf_ttrace_extra_thread_info (struct thread_info *info)
+inf_ttrace_extra_thread_info (struct target_ops *self,
+ struct thread_info *info)
{
struct inf_ttrace_private_thread_info* private =
(struct inf_ttrace_private_thread_info *) info->private;