From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29924 invoked by alias); 2 Sep 2005 13:16:45 -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 29914 invoked by uid 22791); 2 Sep 2005 13:16:41 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 02 Sep 2005 13:16:41 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1EBBPG-0003Nb-3x; Fri, 02 Sep 2005 09:16:34 -0400 Date: Fri, 02 Sep 2005 13:16:00 -0000 From: Daniel Jacobowitz To: Craig Jeffree Cc: Jim Blandy , gdb@sources.redhat.com Subject: Re: Message-ID: <20050902131634.GB12830@nevyn.them.org> Mail-Followup-To: Craig Jeffree , Jim Blandy , gdb@sources.redhat.com References: <1125021866.10500.71.camel@norman> <1125301769.10500.124.camel@norman> <1125618911.8327.53.camel@norman> <1125625791.8327.76.camel@norman> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1125625791.8327.76.camel@norman> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-09/txt/msg00014.txt.bz2 On Fri, Sep 02, 2005 at 11:49:51AM +1000, Craig Jeffree wrote: > On Thu, 2005-09-01 at 17:20 -0700, Jim Blandy wrote: > > If you run GDB on the executable alone, without starting it, what does > > 'ptype struct Soi::Waypoint' say? (Running the program will load > > shared libraries and possibly confuse the issue, but GDB should be > > able to understand the info in the executable without running > > anything.) > > (gdb) ptype struct Soi::Waypoint > No struct type named Soi. > [That's right, Soi's a namespace, but why doesn't it recongnise > Soi::Waypoint as a struct?] Craig, could you try this using gdb -readnow? -- Daniel Jacobowitz CodeSourcery, LLC