This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug cli/17537] New: hard to read error message for ambiguous linespec to list command
- From: "xdje42 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 03 Nov 2014 18:33:25 +0000
- Subject: [Bug cli/17537] New: hard to read error message for ambiguous linespec to list command
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17537
Bug ID: 17537
Summary: hard to read error message for ambiguous linespec to
list command
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: cli
Assignee: unassigned at sourceware dot org
Reporter: xdje42 at gmail dot com
If I do list "foo.c:42" which is ambiguous, gdb will print the possible choices
as the error message, and that's it. There's no indication that there was an
error, just a list of linespecs.
(gdb) l hashline1.c:2
file: "/hack/build/class-symtab-prep/obj64/gdb/testsuite/gdb.base/hashline1.c",
line number: 2
file: "gdb.base/hashline1.c", line number: 2
(gdb)
This case happened because of a bug in my sandbox, but the error message needs
to be clearer.
--
You are receiving this mail because:
You are on the CC list for the bug.