From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25310 invoked by alias); 27 Aug 2002 14:55:44 -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 25217 invoked from network); 27 Aug 2002 14:55:43 -0000 Received: from unknown (HELO gauvain.enssat.fr) (192.54.188.6) by sources.redhat.com with SMTP; 27 Aug 2002 14:55:43 -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 RAA40570 ; Tue, 27 Aug 2002 17:01:08 +0200 (MEST) Message-ID: <3D6B942E.C398A4AF@enssat.fr> Date: Tue, 27 Aug 2002 07:55:00 -0000 From: Squal MIME-Version: 1.0 To: bgat@billgatliff.com, gdb@sources.redhat.com Subject: Re: -symbol gdb option References: <3D6B8FCE.4FC38D8A@enssat.fr> <20020827094034.D23795@saturn.billgatliff.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-08/txt/msg00356.txt.bz2 I specify the OUTPUT_FORMAT in the ld file: OUTPUT_FORMAT ( srec ) William A. Gatliff wrote: > > Pascal: > > What is the command line you're giving to gcc/ld? You should let gcc > write to its default output format (generally ELF or COFF), then > convert that file to S Records if you need to using objcopy. > > Gdb will be very happy with the ELF or COFF file. > > b.g. > > On Tue, Aug 27, 2002 at 04:42:22PM +0200, Squal wrote: > > Hi, > > > > I'm using gdb to debug programs in a 68010 remote target. > > The format of the executable file is s-record so, I can't > > reach the symbol table (s-record format doesn't include > > this kind of informations). > > I tried to specify the map file genered by gcc during the > > compilation like the default symbol file with -s option > > but the map file format is not gdb compliant. > > > > I would like to know which file format can I use to specify > > a symbol file with -s option to gdb. And if it's possible > > which file format should I use with the -s option (map or others). > > > > Thanks and regards > > > > Pascal Marty > > -- > Bill Gatliff > bgat@billgatliff.com