public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug cli/17537] New: hard to read error message for ambiguous linespec to list command
@ 2014-11-03 18:33 xdje42 at gmail dot com
0 siblings, 0 replies; only message in thread
From: xdje42 at gmail dot com @ 2014-11-03 18:33 UTC (permalink / raw)
To: gdb-prs
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-11-03 18:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-03 18:33 [Bug cli/17537] New: hard to read error message for ambiguous linespec to list command xdje42 at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).