This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFA] remote debugging patches


Michal, as an aside, these are independant changes, it is really helpful 
if they are submitted separatly (making review much easier).

    * remote.c: Added WAIT_FOREVER_FLAG and changed all
     calls to getpkt() to respect it.

> +#define WAIT_FOREVER_FLAG 0

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 :-)

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

Andrew



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