This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/22808] New: Impossible to terminate a reverse-i-search
- From: "byron.c.hawkins at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 07 Feb 2018 10:31:35 +0000
- Subject: [Bug gdb/22808] New: Impossible to terminate a reverse-i-search
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=22808
Bug ID: 22808
Summary: Impossible to terminate a reverse-i-search
Product: gdb
Version: 7.12.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: byron.c.hawkins at gmail dot com
Target Milestone: ---
When a reverse-i-search fails, pressing ctrl+C clears the (gdb) prompt but does
not terminate the i-search:
1. Initiate a reverse-i-search with no match
2. Upon failure, press ctrl+C (the prompt clears)
3. Press enter => the last successful match in the reverse-i-search is
executed,
even though the (gdb) prompt is blank
This can potentially mess up the debugger state and cause the user a huge
amount of trouble. I cannot find any way to terminate a reverse-i-search
without executing some command from the history.
--
You are receiving this mail because:
You are on the CC list for the bug.