This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH RFC] process/thread/lwp id patch - phase 2
- To: gdb-patches at sources dot redhat dot com
- Subject: Re: [PATCH RFC] process/thread/lwp id patch - phase 2
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Sun, 6 May 2001 15:22:17 -0700
- References: <1010504063006.ZM7203@ocotillo.lan>
On May 3, 11:30pm, Kevin Buettner wrote:
> * inferior.h (save_inferior_ptid): Declare.
> * infrun.c (save_inferior_ptid, restore_inferior_ptid): Define.
>
> * hpux-thread.c (save_inferior_ptid, restore_inferior_ptid):
> Delete these functions.
> * lin-lwp.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
> * lin-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
> * linux-thread.c (save_inferior_ptid, restore_inferior_ptid):
> Likewise.
> * proc-service.c (save_inferior_ptid, restore_inferior_ptid):
> Likewise.
> * sol-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
> * thread-db.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
>
> * somsolib.c (reset_inferior_ptid): Delete.
> (som_solib_remove_inferior_hook): Use save_inferior_ptid() to
> build the cleanup struct.
>
> * breakpoint.c (reattach_breakpoints, detach_breakpoints): Use
> a cleanup to save/restore inferior_ptid.
Committed.