This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/20604] New: Using quit() causes a infinity loop which and can not exit gdb
- From: "davidrupprecht at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 13 Sep 2016 13:45:44 +0000
- Subject: [Bug gdb/20604] New: Using quit() causes a infinity loop which and can not exit gdb
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20604
Bug ID: 20604
Summary: Using quit() causes a infinity loop which and can not
exit gdb
Product: gdb
Version: 7.11.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: davidrupprecht at gmail dot com
Target Milestone: ---
Hi,
Instead of using just 'q' or 'quit', I often try to quit GDB using 'quit()'.
This causes the error "A syntax error in expression, near `)'.". However, after
this error I'm not able to type any command in gdb and gdb do not really
respond. gdb only responses to ctrl+c with "(gdb) Quit". Even ctrl+d does not
work. Various combination of 'quit' and '(' cause this error. I tested several
combinations like 'q (', 'q(', 'q)' and 'qui('. However, 'qu (' works fine.
I'm using:
- 'GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1.'
- 4.4.0-36-generic
Best regards
David
--
You are receiving this mail because:
You are on the CC list for the bug.