This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH RFC] process/thread/lwp id patch - phase 2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]