This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA 2/2] warn if "source" fails to open the file when from_tty == 0


> 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.

That's what I thought as well. Not sure whether anyone really relies
on that behavior, or not, but it's been like that at least since
start of CVS, as far as I can tell, so really hard to argue for
a change.

> Joel> Tested on x86_64-linux, Ok to commit?
> 
> Looks good to me.

Thanks! Checked in.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]