This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/18797] New: Better error output for bad -iex, etc. options.
- From: "xdje42 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 10 Aug 2015 02:49:38 +0000
- Subject: [Bug gdb/18797] New: Better error output for bad -iex, etc. options.
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18797
Bug ID: 18797
Summary: Better error output for bad -iex, etc. options.
Product: gdb
Version: unknown
Status: NEW
Severity: enhancement
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: xdje42 at gmail dot com
Target Milestone: ---
I had a typo in a -iex option, and it took awhile to find it.
The output includes the error message, but amidst the plethora of gdb start up
text it gets lost in the noise.
IWBN if the error message included an indication of what it's for.
E.g.,
$ gdb -iex "set foo bar"
[...]
No symbol table is loaded. Use the "file" command.
(gdb)
IWBN if the output was instead something like:
$ gdb -iex "set foo bar"
[...]
Error while processing: -iex "set foo bar":
No symbol table is loaded. Use the "file" command.
(gdb)
--
You are receiving this mail because:
You are on the CC list for the bug.