From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30436 invoked by alias); 26 Sep 2002 15:27:00 -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 30423 invoked from network); 26 Sep 2002 15:26:58 -0000 Received: from unknown (HELO gauvain.enssat.fr) (192.54.188.6) by sources.redhat.com with SMTP; 26 Sep 2002 15:26:58 -0000 Received: from enssat.fr (yseult1.enssat.etu.univ-rennes1.fr [192.54.188.193]) by gauvain.enssat.fr (8.9.1a/jtpda-5.3.3) with ESMTP id RAA15594 ; Thu, 26 Sep 2002 17:33:33 +0200 (MEST) Message-ID: <3D932899.F708BD5F@enssat.fr> Date: Thu, 26 Sep 2002 08:27:00 -0000 From: Squal X-Accept-Language: en MIME-Version: 1.0 To: gdb@sources.redhat.com CC: pmarty@enssat.fr, froure@enssat.fr Subject: displaying source files during debugging. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00431.txt.bz2 Hi, We are trying to debug program with gdb for a m68k target. We are compiling the source files in two executable: - the first in aout format. - the second in srecord format (with objcopy). The second is download on the target and the first is giving to gdb in order to reach the symbol table. Our problem is that this configuration don't allow us to display source files during debugging. We tried to specifie the source files directorie with the dir command but with no success. This problem occurs only during cross debugging (when we try to debug a program localy with gdb, there is no problems to reach source files). Does any gdb option exist to reach source files during cross debugging? Maybe the aout format given to gdb don't include enough information about source files (it maybe should be better with the coff or elf format)? Thanks and regards Pascal & FX ENSSAT students