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: Fri, 4 May 2001 00:09:53 -0700
- References: <1010504063006.ZM7203@ocotillo.lan>
On May 3, 11:30pm, Kevin Buettner wrote:
> +static void
> +restore_inferior_ptid (void *arg)
> +{
> + ptid_t *saved_ptid_ptr = arg;
> + inferior_ptid = *saved_ptid_ptr;
> + free (arg);
> +}
I've revised my sources to use xfree() here instead of free().
Kevin