This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Remote debugging without a binary (regression)
- From: Pedro Alves <palves at redhat dot com>
- To: Luis Machado <lgustavo at codesourcery dot com>, gdb-patches at sourceware dot org
- Cc: gbenson at redhat dot com
- Date: Fri, 12 Feb 2016 15:29:55 +0000
- Subject: Re: [PATCH] Remote debugging without a binary (regression)
- Authentication-results: sourceware.org; auth=none
- References: <1455200365-5270-1-git-send-email-lgustavo at codesourcery dot com>
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