[RFA] remote debugging patches

Michal Ludvig mludvig@suse.cz
Mon Mar 11 07:08:00 GMT 2002


Andrew Cagney wrote:
> Yes fine, er almost.  Can you change the name of this to 
> ``DONT_WAIT_FOREVER_FLAG'' and suggest making it an enum. (so GDB can 
> print it :-)

Why DONT_WAIT_FOREWER? IMHO wait_forewer is correct, because 0 means 
don't wait forewer (the default) and 1 means yes, wait forever.

> If you're feeling really inspired (...), you could even introduce an 
> enum to handle both the DO and DONT cases.

OK, I changed it to enum called wait_forever_flag with values yes and 
no. Now it should be clear enough whether to wait or not. :-)
Michal Ludvig
-- 
* SuSE CR, s.r.o     * mludvig@suse.cz
* +420 2 9654 5373   * http://www.suse.cz
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gdb-remote-03111602.diff
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20020311/bc227240/attachment.ksh>


More information about the Gdb-patches mailing list