On 01/23/2012 10:03 PM, Yao Qi wrote: > + warning ("Error reading helper thread's id in lib"); This warning message is copied form somewhere else. Fix it to warning ("Error reading capability of agent"); > diff --git a/gdb/common/agent.h b/gdb/common/agent.h > index 079b65e..cf3fab1 100644 > --- a/gdb/common/agent.h > +++ b/gdb/common/agent.h > @@ -36,3 +36,18 @@ void agent_look_up_symbols (void); > extern int debug_agent ; > > extern int use_agent; > + > +/* Capability of agent. Different agents may have different capabilities, > + such as installing fast tracepoint or evaluating breakpoint conditions. > + Capabilities are represented by bit-maps, and each capability occupy one ^^^^ s/occupy/occupies/ > + bit. */ Here is the updated version. -- Yao (齐尧)