This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
cli/1120: can't exit when executable removed
- From: tromey at redhat dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 4 Mar 2003 21:29:34 -0000
- Subject: cli/1120: can't exit when executable removed
- Reply-to: tromey at redhat dot com
>Number: 1120
>Category: cli
>Synopsis: can't exit when executable removed
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Mar 04 21:38:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Tom Tromey
>Release: 5.2-2
>Organization:
>Environment:
x86 Red Hat Linux 7.3
>Description:
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.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: