From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Description of problem: Start gdb and attach to a running process. Stop the process from another shell. Now try to quit gdb: (gdb) quit (gdb) The program is running. Quit anyway (and detach it)? (y or n) y Can't detach LWP 6865: No such process (gdb) To quit gdb, you need to do "kill" first. (Unless you despair and kill gdb from another shell). A quit should never fail. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: See description. Actual Results: gdb says: Can't detach LWP 6865: No such process (gdb) and doesn't quit. Expected Results: gdb should have quit. Additional info:
Fixed in latest release. Removed error() call for detach failure.