This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: GDB record patch 0.1.3.1 for GDB-6.8 release
Maybe we can add both of them. In the default, GDB will call query to
ask user what he want, read only or set value and destroy the future.
And user can set GDB to always read only or always destroy. I think
it's friendly to the user.
teawater
On Fri, May 23, 2008 at 1:00 PM, Michael Snyder <msnyder@specifix.com> wrote:
> On Fri, 2008-05-23 at 11:04 +0800, Tea wrote:
>> Hi Michael,
>>
>> How do you think about "query". I always forget the name of variable
>> that can set by user. So I more like query than it. :)
>
> Sorry, we have an existing set of commands, and we
> like to stay consistent with those.
>
> A user settable mode is set via the command "set".
> Type "help set" and you'll see a large number of them.
> They can have lots of different kinds of values, eg.
> integers, strings, or small sets of enums like "on" and "off".
>
> It's not difficult, I can point you to a few examples
> of how it's done if you like.
>
> Michael
>
>
>
>