From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6019 invoked by alias); 8 Dec 2001 00:49:11 -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 2472 invoked from network); 8 Dec 2001 00:47:40 -0000 Received: from unknown (HELO ilpostino.physics.ucsb.edu) (128.111.17.245) by sources.redhat.com with SMTP; 8 Dec 2001 00:47:40 -0000 Received: from physics.ucsb.edu (maloney@ppro.physics.ucsb.edu [128.111.16.233]) by ilpostino.physics.ucsb.edu (8.11.2/8.11.2) with ESMTP id fB80lav07703; Fri, 7 Dec 2001 16:47:36 -0800 Message-ID: <3C1164F1.955735A4@physics.ucsb.edu> Date: Fri, 07 Dec 2001 16:49:00 -0000 From: Craig Maloney Organization: UC Santa Barbara X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19pre17-compact i686) X-Accept-Language: en MIME-Version: 1.0 To: Daniel Berlin CC: Daniel Jacobowitz , gdb@sources.redhat.com Subject: Re: operator* for iterators References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2001-12/txt/msg00090.txt.bz2 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 > >