This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: 7.4->7.5 Regression gdb.base/pending.exp with gdbserver [Re: [PATCH] Dynamic printf for a target agent]
- From: Yao Qi <yao at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Cc: Pedro Alves <palves at redhat dot com>
- Date: Sat, 28 Jul 2012 19:40:49 +0800
- Subject: Re: 7.4->7.5 Regression gdb.base/pending.exp with gdbserver [Re: [PATCH] Dynamic printf for a target agent]
- References: <4FC57340.6070306@earthlink.net> <5012C373.4050006@redhat.com> <3480554.LITosdQYbn@qiyao.dyndns.org>
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 (éå)