This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Fix crash in "run" on macOS when gdb is not signed
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 3 Jul 2018 15:16:01 +0100
- Subject: Re: [RFA] Fix crash in "run" on macOS when gdb is not signed
- References: <20180628180257.29883-1-tom@tromey.com> <1d40e422-08f4-30c1-de10-bd63396acb0b@redhat.com> <87o9fpodos.fsf@tromey.com>
On 07/02/2018 04:33 PM, Tom Tromey wrote:
>>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
>
> Pedro> I'd try also with "attach", see if something else needs
> Pedro> cleaning up / unwinding.
>
> Thanks. This seemed to work fine.
>
> Pedro> If you try this with MI as is, I think gdb will output a
> Pedro> -thread-group-started notification, and then an ^error.
> Pedro> You may want to call exit_inferior instead so that
> Pedro> gdb outputs a matching -thread-group-exited.
>
> Indeed; I've changed it to use exit_inferior.
>
> Pedro> Otherwise looks fine to me.
>
> How's this?
Looks good.
Thanks,
Pedro Alves