This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug symtab/11919] New: <tab> on invalid elements aborts the completion
- From: "jan dot kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 17 Aug 2010 19:53:03 -0000
- Subject: [Bug symtab/11919] New: <tab> on invalid elements aborts the completion
- Reply-to: sourceware-bugzilla at sourceware dot org
./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.