This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 2/2] warn if "source" fails to open the file when from_tty == 0
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 10 Oct 2013 12:11:35 -0600
- Subject: Re: [RFA 2/2] warn if "source" fails to open the file when from_tty == 0
- Authentication-results: sourceware.org; auth=none
- References: <1381389734-32490-1-git-send-email-brobecker at adacore dot com> <1381389734-32490-2-git-send-email-brobecker at adacore dot com>
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Joel> One would have at least expected the debugger to warn about
Joel> not finding the file, similar to the error shown when using
Joel> a more interactive mode. Eg:
Yeah. That seems like a mistake, but it seems like it would also be a
mistake to change it.
Joel> Tested on x86_64-linux, Ok to commit?
Looks good to me.
Tom