[Converted from Gnats 1120] 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. This is with: fleche. gdb --version GNU gdb Red Hat Linux (5.2-2) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux". AKA /usr/bin/gdb on an x86 Red Hat Linux 7.3 box. Release: 5.2-2 Environment: x86 Red Hat Linux 7.3
I tried with 6.8 and now it does successfully exit.