This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tui/21089] New: GDB hangs if a syntax error is found when quitting


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]