From 1e6b91a4bf6911ea68506a73eb8ff7ab3567f005 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 17 Dec 2013 21:36:30 -0700 Subject: Add target_ops argument to to_get_ada_task_ptid 2014-02-19 Tom Tromey * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument. * target.h (struct target_ops) : Add argument. (target_get_ada_task_ptid): Add argument. * target.c (update_current_target): Update. (default_get_ada_task_ptid): Add 'self' argument. * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument. * remote.c (remote_get_ada_task_ptid): Add 'self' argument. * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self' argument. * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self' argument. * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self' argument. * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self' argument. * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument. * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self' argument. --- gdb/dec-thread.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gdb/dec-thread.c') diff --git a/gdb/dec-thread.c b/gdb/dec-thread.c index b9a1c68..e7cecc4 100644 --- a/gdb/dec-thread.c +++ b/gdb/dec-thread.c @@ -687,12 +687,13 @@ dec_thread_new_objfile_observer (struct objfile *objfile) /* The "to_get_ada_task_ptid" method of the dec_thread_ops. */ static ptid_t -dec_thread_get_ada_task_ptid (long lwp, long thread) +dec_thread_get_ada_task_ptid (struct target_ops *self, long lwp, long thread) { int i; struct dec_thread_info *info; - debug ("dec_thread_get_ada_task_ptid (lwp=0x%lx, thread=0x%lx)", + debug ("dec_thread_get_ada_task_ptid (struct target_ops *self, + lwp=0x%lx, thread=0x%lx)", lwp, thread); for (i = 0; VEC_iterate (dec_thread_info_s, dec_thread_list, i, info); -- cgit v1.1