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 symtab/11919] New: <tab> on invalid elements aborts the completion


./gdb -nx ./gdb
(gdb) p gdb_stdin.x.<tab>

Actual:
(gdb) p gdb_stdin.x.Type struct ui_file has no component named x.
(gdb) _
 - That is the completion aborts and you cannot continue the line editation.
 - The line is not even stored into the readline history!

Expected:
(gdb) p gdb_stdin.x.
 - Just nothing should happen, for example like during:
(gdb) p gdb_stdin.x<tab>

-- 
           Summary: <tab> on invalid elements aborts the completion
           Product: gdb
           Version: unknown
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: symtab
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: jan dot kratochvil at redhat dot com
                CC: gdb-prs at sourceware dot org
  GCC host triplet: x86_64-fedora14pre-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=11919

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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