This is the mail archive of the gdb-patches@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]

Re: GDB record patch 0.1.3.1 for GDB-6.8 release


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




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