This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug tui/21089] New: GDB hangs if a syntax error is found when quitting
- From: "pbotfullerton at cock dot li" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 25 Jan 2017 23:40:00 +0000
- Subject: [Bug tui/21089] New: GDB hangs if a syntax error is found when quitting
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21089
Bug ID: 21089
Summary: GDB hangs if a syntax error is found when quitting
Product: gdb
Version: 7.12
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: tui
Assignee: unassigned at sourceware dot org
Reporter: pbotfullerton at cock dot li
Target Milestone: ---
If a syntax error is found after the "quit" keyword (eg, by typing in "quit;"),
GDB hangs indefinitely and has to be killed. While in this hung state, it
responds to Ctrl-C by printing out "Quit", a newline, and prompt but does do
anything else.
Example session:
GNU gdb (Debian 7.12-4) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) quit;
Invalid character ';' in expression.
(gdb)
[hanged process results]
--
You are receiving this mail because:
You are on the CC list for the bug.