From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19796 invoked by alias); 7 Dec 2001 23:48:38 -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 17911 invoked from network); 7 Dec 2001 23:48:03 -0000 Received: from unknown (HELO ilpostino.physics.ucsb.edu) (128.111.17.245) by sources.redhat.com with SMTP; 7 Dec 2001 23:48:03 -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 fB7NmTv04683; Fri, 7 Dec 2001 15:48:29 -0800 Message-ID: <3C115718.D29DAE0C@physics.ucsb.edu> Date: Fri, 07 Dec 2001 15:48: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 Jacobowitz CC: gdb@sources.redhat.com Subject: Re: operator* for iterators References: <3C0FD7F3.E2638F61@physics.ucsb.edu> <20011206153742.A11234@nevyn.them.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2001-12/txt/msg00087.txt.bz2 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