From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6470 invoked by alias); 7 Mar 2007 15:49:21 -0000 Received: (qmail 6457 invoked by uid 22791); 7 Mar 2007 15:49:20 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Wed, 07 Mar 2007 15:49:14 +0000 Received: from dsl093-172-095.pit1.dsl.speakeasy.net ([66.93.172.95] helo=caradoc.them.org) by nevyn.them.org with esmtp (Exim 4.63) (envelope-from ) id 1HOyO7-0006Cu-1I; Wed, 07 Mar 2007 10:49:11 -0500 Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1HOyO6-0003di-EQ; Wed, 07 Mar 2007 10:49:10 -0500 Date: Wed, 07 Mar 2007 15:49:00 -0000 From: Daniel Jacobowitz To: ppmoore Cc: gdb@sources.redhat.com Subject: Re: Get >incomplete type> when I try to display a variable Message-ID: <20070307154910.GA13899@caradoc.them.org> Mail-Followup-To: ppmoore , gdb@sources.redhat.com References: <9355446.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9355446.post@talk.nabble.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00113.txt.bz2 On Wed, Mar 07, 2007 at 07:47:23AM -0800, ppmoore wrote: > I'm now debugging another section of code where the .c and the .h files are > in separate directories. As before, I copy these across to the executable > location. When I debug, I get the error when I try to > examine the contents of a structure or pointer to a structure. Is this > because in the development enviromnent, the .h and .c files are in different > directories? No, it has nothing to do with that. Either some file was not compiled with -g, or your compiler has omitted some necessary debug info. -- Daniel Jacobowitz CodeSourcery