From: "William A. Gatliff" <bgat@billgatliff.com>
To: Squal <pmarty@enssat.fr>
Cc: gdb@sources.redhat.com
Subject: Re: -symbol gdb option
Date: Tue, 27 Aug 2002 07:40:00 -0000 [thread overview]
Message-ID: <20020827094034.D23795@saturn.billgatliff.com> (raw)
In-Reply-To: <3D6B8FCE.4FC38D8A@enssat.fr>; from pmarty@enssat.fr on Tue, Aug 27, 2002 at 04:42:22PM +0200
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
next prev parent reply other threads:[~2002-08-27 14:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-27 7:37 Squal
2002-08-27 7:40 ` William A. Gatliff [this message]
2002-08-27 7:55 ` Squal
2002-08-27 7:58 ` William A. Gatliff
2002-08-27 8:01 ` Daniel Jacobowitz
2002-08-27 8:03 ` William A. Gatliff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020827094034.D23795@saturn.billgatliff.com \
--to=bgat@billgatliff.com \
--cc=gdb@sources.redhat.com \
--cc=pmarty@enssat.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox