[RFA 1/2] Fix regressions for multi breakpoints command line setting/clearing

Philippe Waroquiers philippe.waroquiers@skynet.be
Sat Aug 25 19:17:00 GMT 2018


On Tue, 2018-08-21 at 12:00 -0600, Tom Tromey wrote
> Philippe> +  else
> Philippe> +    {
> Philippe> +      new_arg = arg;
> Philippe> +      arg = new_arg.c_str ();
> Philippe> +    }
> 
> I think it should work ok now if you just remove this hunk.
Effectively, that bit of code is not needed anymore, thanks to the
fix you did for the use after free.

I will update the patch (and the test according to the comments
of Pedro), and resubmit an RFA.

Thanks

Philippe



More information about the Gdb-patches mailing list