This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Remove target_pid_or_tid_to_str.
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: vladimir at codesourcery dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 14 Dec 2007 19:42:20 +0100 (CET)
- Subject: Re: [RFA] Remove target_pid_or_tid_to_str.
- References: <200712142007.58984.vladimir@codesourcery.com>
> From: Vladimir Prus <vladimir@codesourcery.com>
> Date: Fri, 14 Dec 2007 20:07:58 +0300
>
> This macros has added in 1999 and used by
> config/pa/nm-hppah.h. The latter file was itself
> deleted in 2004, so now target_pid_or_tid_to_str
> is always the same as target_pid_to_str.
>
> OK?
Sure.
> - Volodya
>
> * gdb/target.h (target_pid_or_tid_to_str): Remove.
> * gdb/infrun.c (handle_inferior_event):
> Use target_pid_to_str instead of target_pid_or_tid_to_str.
> (normal_stop): Likewise.