This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/15800] IWBN to override what defaulted_query will do when input is not from terminal
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 02 Aug 2013 17:43:09 +0000
- Subject: [Bug gdb/15800] IWBN to override what defaulted_query will do when input is not from terminal
- Auto-submitted: auto-generated
- References: <bug-15800-4717 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15800
--- Comment #5 from dje at google dot com ---
Yeah, defaulted_query is flawed from a scripting point of view.
Consider this bug a discussion for how to fix it.
It's easy enough to add defaulted_query calls to code without remembering that
every one screws the user wanting to script that command unless extra steps are
taken, but do we want (effectively) a user-settable option for every
defaulted_query?
E.g.
if (pending_break_support == AUTO_BOOLEAN_AUTO
&& !nquery (_("Make %s pending on future shared library load? "),
bptype_string (type_wanted)))
--
You are receiving this mail because:
You are on the CC list for the bug.