Another proposal for frontends and queries.

Pedro Alves pedro@codesourcery.com
Wed Sep 16 13:25:00 GMT 2009


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



More information about the Gdb-patches mailing list