mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
Remove ptid_get_tid
This removes ptid_get_tid in favor of calling the ptid_t::tid method. gdb/ChangeLog 2018-07-03 Tom Tromey <tom@tromey.com> * common/ptid.c (ptid_get_tid): Remove. * common/ptid.h (ptid_get_tid): Don't declare. * ada-tasks.c: Update. * aix-thread.c: Update. * bsd-uthread.c: Update. * darwin-nat.c: Update. * fbsd-nat.c: Update. * i386-darwin-nat.c: Update. * infrun.c: Update. * linux-tdep.c: Update. * nto-procfs.c: Update. * ppc-ravenscar-thread.c: Update. * python/py-infthread.c: Update. * ravenscar-thread.c: Update. * sol-thread.c: Update. * sparc-ravenscar-thread.c: Update. * windows-nat.c: Update. gdb/gdbserver/ChangeLog 2018-07-03 Tom Tromey <tom@tromey.com> * target.c: Update.
This commit is contained in:
@@ -1203,7 +1203,7 @@ info_task (struct ui_out *uiout, const char *taskno_str, struct inferior *inf)
|
||||
printf_filtered (_("<no name>\n"));
|
||||
|
||||
/* Print the TID and LWP. */
|
||||
printf_filtered (_("Thread: %#lx\n"), ptid_get_tid (task_info->ptid));
|
||||
printf_filtered (_("Thread: %#lx\n"), task_info->ptid.tid ());
|
||||
printf_filtered (_("LWP: %#lx\n"), task_info->ptid.lwp ());
|
||||
|
||||
/* If set, print the base CPU. */
|
||||
|
||||
Reference in New Issue
Block a user