This is the mail archive of the archer@sourceware.org mailing list for the Archer 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: regression in remote.c in remote_threads_info for qfThreadInfo/qsThreadInfo with the introduction of read_ptid


On Thursday 10 September 2009 06:25:17, Andrew Sutherland wrote:
> The use of read_ptid replaced use of strtoul.  strtoul eats leading 
> whitespace, read_ptid does not.
> 
> The protocol documentation explicitly provides for the existence of 
> whitespace: `m thread-id' and `m thread-id,thread-id...'

Note that a bit above it reads:

"Like the descriptions of the other packets, each description here has a template showing the packet's
overall syntax, followed by an explanation of the packet's meaning. We include spaces in some of the
templates for clarity; these are not part of the packet's syntax. No GDB packet uses
spaces to separate its components."

-- 
Pedro Alves


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