This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: operator* for iterators
- From: Craig Maloney <cmaloney at physics dot ucsb dot edu>
- To: Daniel Berlin <dan at cgsoftware dot com>
- Cc: Daniel Jacobowitz <drow at mvista dot com>, gdb at sources dot redhat dot com
- Date: Fri, 07 Dec 2001 16:55:13 -0800
- Subject: Re: operator* for iterators
- Organization: UC Santa Barbara
- References: <Pine.LNX.4.33.0112071855530.24784-100000@www.cgsoftware.com>
Daniel Berlin wrote:
>
> Did you use the operator in the program?
> If not, it won't work for STABS.
Yes. I use it extensively.
>
> On Fri, 7 Dec 2001, Craig Maloney wrote:
>
> > For what it's worth, the problem goes away when I use DWARF2.
> > --Craig
> >
> > Daniel Jacobowitz wrote:
> > >
> > > On Thu, Dec 06, 2001 at 12:41:23PM -0800, Craig Maloney wrote:
> > > > I have intermittent problems trying to do the following:
> > > >
> > > > If I have a list or vector iterator (say, li and vi)
> > > > and I try to dereference them, I get the following:
> > > >
> > > > "structure has no component named operator*"
> > >
> > > What C++ compiler version, and what GDB version, and what platform, and
> > > what debug format?
> > >
> > > I don't know the state of calling overloaded operators right now, but I
> > > wouldn't be surprised if it was badly off.
> > >
> > > --
> > > Daniel Jacobowitz Carnegie Mellon University
> > > MontaVista Software Debian GNU/Linux Developer
> >