From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4075 invoked by alias); 7 Mar 2007 15:47:33 -0000 Received: (qmail 4067 invoked by uid 22791); 7 Mar 2007 15:47:33 -0000 X-Spam-Check-By: sourceware.org Received: from www.nabble.com (HELO talk.nabble.com) (72.21.53.35) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 07 Mar 2007 15:47:28 +0000 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HOyMN-0001CG-Ow for gdb@sources.redhat.com; Wed, 07 Mar 2007 07:47:23 -0800 Message-ID: <9355446.post@talk.nabble.com> Date: Wed, 07 Mar 2007 15:47:00 -0000 From: ppmoore To: gdb@sources.redhat.com Subject: Get >incomplete type> when I try to display a variable MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: polomora@gmail.com 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/msg00112.txt.bz2 Hello, I've been trying to debug a program, where the source files and the binary are in separate directories (the .h and .c files are in the same directory). I just copy all source files to the destination execution directory where the executable is located (the target machine is not on the same network as the development machine), and this works fine. 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? Can anyone help? Thanks, Paul -- View this message in context: http://www.nabble.com/Get-%3Eincomplete-type%3E-when-I-try-to-display-a-variable-tf3362883.html#a9355446 Sent from the gdb - General mailing list archive at Nabble.com.