This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] testsuite/gdb.c++/ref-types.exp: use runto
- To: Michael Elizabeth Chastain <chastain at cygnus dot com>
- Subject: Re: [RFA] testsuite/gdb.c++/ref-types.exp: use runto
- From: Daniel Berlin <dberlin at redhat dot com>
- Date: 17 Mar 2001 18:30:31 -0500
- Cc: cgf at redhat dot com, gdb-patches at sources dot redhat dot com
- References: <200103172042.MAA11578@bosch.cygnus.com>
Michael Elizabeth Chastain <chastain@cygnus.com> writes:
> Hi Daniel,
>
> > It's not "usually" erroneous, it's that virtfunc.cc is worst case.
> > In reality, it works most of the time.
>
> I tried this out with the canonical diamond class, and it did work in
> all the cases I tried (gcc 2.95.2, gdb cvs 2001-03-17, red hat linux
> native, stabs).
>
> I spent some time looking at gdb with virtfunc.cc. gdb is coming up
> with a bizarre offset: it thinks the offset of the "A" object in class
> "E" is 28, when it should be 0. That's causing most (if not all) of
> the problems.
Yes, I know.
>
> Maybe this can be fixed without breaking something else. I'm going
> to investigate more.
Remember, just because it works on Linux, ....
If you are going to try to do it without breaking something else,
you'll need to test on the other platforms that have a different set
of default flags.
>
> Michael