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 gdb/22808] New: Impossible to terminate a reverse-i-search


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.

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