oddity when exiting
Jim Blandy
jimb@redhat.com
Tue Mar 4 20:44:00 GMT 2003
Tom Tromey <tromey@redhat.com> writes:
> I tried to quit gdb and got this:
>
> (gdb) q
> The program is running. Exit anyway? (y or n) y
> /home/tromey/gnu/Trunk/build/gcc/jc1: No such file or directory.
> (gdb)
>
> Using `q' again got me out. But why did this happen? I had deleted
> the executable in question, sure -- but I think it doesn't make sense
> for gdb to prevent me from quitting in this case.
I don't know what code is trying to re-open the executable file, but
it wouldn't surprise me that GDB tries to open it, gets an error, and
throws the exception back to the command loop.
Could you file a PR for this?
More information about the Gdb
mailing list