This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: sunday project, gdb, 2003-09-26
On Mon, Sep 29, 2003 at 11:53:19AM -0700, David Carlton wrote:
> On Mon, 29 Sep 2003 14:29:46 -0400, Michael Elizabeth Chastain <mec@shout.net> said:
>
> > I think the old output is correct and it's just a matter of
> > upgrading the test script to handle the many variations of 'ptype'
> > output.
>
> > Actually we could use some more infrastructure for doing that.
> > Writing four to six 500-character regexp's for each ptype is very
> > fragile.
>
> Yeah, really. Though I also don't think there should be four to six
> of them: I don't like having regexps in there that we aren't seeing in
> the wild.
I posted a more readable way to do this, once. I don't remember if I
ever finished working on it; I got distracted.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer