This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: Assertion failure because of missing inferior
> -----Original Message-----
> From: gdb-patches-owner@sourceware.org
> [mailto:gdb-patches-owner@sourceware.org] On Behalf Of Joel Brobecker
> Sent: Tuesday, December 14, 2010 10:05 AM
> To: Tom Tromey
> Cc: Marc Khouzam; gdb-patches@sourceware.org
> Subject: Re: Assertion failure because of missing inferior
>
> > Marc> 2010-12-10 Marc Khouzam <marc.khouzam@ericsson.com>
> > Marc> * mi/mi-main.c (mi_cmd_remove_inferior): Don't
> delete current inferior.
> > Marc> (get_other_inferior): New.
> >
> > I think this is ok for the 7.2 branch, assuming Joel didn't do the
> > release already :)
>
> I'll wait for the go ahead from you guys - I get confused with the
> various emails...
So, although I feel that this patch is good, it seems to be
only a first step in getting 'remove-inferior' to work. Once
I have this patch applied, I'm getting further but hitting
another crash. I'm still working on a patch for that. I don't
think the current patch is going to help 7.2.1 unless the other
crash is also fixed, so I'll wait before committing it.
I guess I have just a little more time, until the issue below
(watchpoint-related patch) is ready, to try to fix the latest
crash. I'll do my best.
Thanks
Marc
> There is also a watchpoint-related patch (from Pedro) which
> Jan pointed
> out. It looks a little riskier than the typical patch, but it fixes
> crashes and has been in HEAD for 4 months now. So I suggested the
> possibility of maybe putting it in, if we don't know of any issue that
> this patch caused since putting it in HEAD....
>
> --
> Joel
>