From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22344 invoked by alias); 7 Dec 2001 23:56:31 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 22302 invoked from network); 7 Dec 2001 23:56:29 -0000 Received: from unknown (HELO www.cgsoftware.com) (208.155.65.221) by sources.redhat.com with SMTP; 7 Dec 2001 23:56:29 -0000 Received: from localhost (localhost [127.0.0.1]) by www.cgsoftware.com (8.9.3/8.9.3) with ESMTP id SAA32589; Fri, 7 Dec 2001 18:56:22 -0500 Date: Fri, 07 Dec 2001 15:56:00 -0000 From: Daniel Berlin To: Craig Maloney cc: Daniel Jacobowitz , Subject: Re: operator* for iterators In-Reply-To: <3C115718.D29DAE0C@physics.ucsb.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2001-12/txt/msg00088.txt.bz2 Did you use the operator in the program? If not, it won't work for STABS. 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 >