aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-thread-db.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/linux-thread-db.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/linux-thread-db.c')
-rw-r--r--gdb/linux-thread-db.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c
index c05ebdf..9180464 100644
--- a/gdb/linux-thread-db.c
+++ b/gdb/linux-thread-db.c
@@ -1772,7 +1772,8 @@ thread_db_pid_to_str (struct target_ops *ops, ptid_t ptid)
INFO. */
static char *
-thread_db_extra_thread_info (struct thread_info *info)
+thread_db_extra_thread_info (struct target_ops *self,
+ struct thread_info *info)
{
if (info->private == NULL)
return NULL;