Re: [PATCH v2 18/24] Multi-target support

Simon Marchi
2020-01-17T15:14:30Z

On 2019-10-17 6:50 p.m., Pedro Alves wrote:
> This commit adds multi-target support to GDB. What this means is that
> with this commit, GDB can now be connected to different targets at the
> same time. E.g., you can debug a live native process and a core dump
> at the same time, connect to multiple gdbservers, etc.

I have reported another bug introduced by this patch, originally reported
to me by Laurent, in CC.

Essentially, starting an inferior, then trying to run a second inferior twice,
gives us a:

warning: td_ta_new failed: generic error

and the second run does not successfully execute the program.

I filed it in bugzilla: https://sourceware.org/bugzilla/show_bug.cgi?id=25410

Simon