From c15906d8e64c7083787ae1548f614f2938089771 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 17 Dec 2013 21:34:09 -0700 Subject: Add target_ops argument to to_extra_thread_info 2014-02-19 Tom Tromey * target.h (struct target_ops) : 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. --- gdb/bsd-uthread.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/bsd-uthread.c') diff --git a/gdb/bsd-uthread.c b/gdb/bsd-uthread.c index d235f41..39bc05a 100644 --- a/gdb/bsd-uthread.c +++ b/gdb/bsd-uthread.c @@ -483,7 +483,8 @@ static char *bsd_uthread_state[] = INFO. */ static char * -bsd_uthread_extra_thread_info (struct thread_info *info) +bsd_uthread_extra_thread_info (struct target_ops *self, + struct thread_info *info) { enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch ()); CORE_ADDR addr = ptid_get_tid (info->ptid); -- cgit v1.1