This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/15800] IWBN to override what defaulted_query will do when input is not from terminal


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]