Re: [PATCH] Remote debugging without a binary (regression)

Pedro Alves
2016-02-12T15:29:59Z

On 02/11/2016 02:19 PM, Luis Machado wrote:

> gdb/ChangeLog:
>
> 2016-02-11 Luis Machado <lgustavo@codesourcery.com>
>
> * remote.c (remote_add_inferior): Guard block that can throw
> errors.

So the question is: why guard this call, and not the others?

E.g., I'd think that failing to find the executable in the sysroot
shouldn't error out of "attach" either.

Thanks,
Pedro Alves