This is the mail archive of the gdb-patches@sourceware.org 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: 7.4->7.5 Regression gdb.base/pending.exp with gdbserver [Re: [PATCH] Dynamic printf for a target agent]


On Saturday, July 28, 2012 06:23:41 PM Yao Qi wrote:
> I am wondering that the original code can skip some "bad" chars in 'X' and 
> 'cmds:' to go to next ';', and I don't know this case does exist.  We may
> add  an assertion at the end of 'while (*dataptr)' loop, like this,
> 
>   while (*dataptr)
>     {
>        ...
>        gdb_assert (*dataptr == 0 || *dataptr == ';');
>     }

Sorry, my brain didn't work just now.  It is wrong, and please ignore this.

-- 
Yao (éå)


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