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: Another proposal for frontends and queries.


On Wednesday 16 September 2009 14:06:00, Hui Zhu wrote:
> > Having that "[n]" seems of less value than getting PRecord to work with
> > Frontends, no?
> 
> I cannot agree with it.

Please be clear on _why_ and _what_ you cannot agree with.

The point we're making, is that from the user's perpective, this:

 foofooo? (y or n) <enter>
 Please answer y or n.
 foofooo? (y or n) n <enter>
 <action cancelled>

doesn't look any worse than:

 foofooo? (y or [n]) <enter>
 <action cancelled>

GDB uses 'query' (defaulting to yes), in other desctructive
situations, such as the old:

 (gdb) quit
 The program is running.  Quit anyway (and kill it)? (y or n)

or the old:

 (gdb) run
 The program being debugged has been started already.
 Start it from the beginning? (y or n) 


How is precord different?

We very seriously need a GDB HIG.

-- 
Pedro Alves


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