Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Chris Lewkowski <chrislewkowski@yahoo.com>
To: gdb@sources.redhat.com
Subject: IEEE 695 symbol support for GDB/BFD
Date: Mon, 22 Jul 2002 01:42:00 -0000	[thread overview]
Message-ID: <20020722084241.72797.qmail@web20208.mail.yahoo.com> (raw)

Hi,

I have been trying to use GDB with IEEE 695 symbol
object file for 
debugging a m68k remote board.  I configured GDB with
a target of 
m68k-motorola-ieee and that built fine.  When I run
GDB and load an IEEE 695 
file I get the following error:

I'm sorry, Dave, I can't do that.  Symbol format
'ieee' unknown.

I tracked this down to the function find_sym_fns() in
file symfile.c.  
After doing some more investigation I believe that
GDB/BFD does not 
have any methods for reading these types of symbol
files, although it does 
recognise the format.  I believe that the file
ieeeread.c (and 
functionality of course) will need to be created for
GDB as well as supporting 
read functions in the BFD library.  I am considering
creating this 
functionality but have a few questions first:

1) Has anyone attempted this before?

2) Does what I have described above seem like the
correct path to take 
to support this object/executable file format?  Can
someone give me 
some pointers on the best way to add this
functionality?

3) Does anyone have any additional (to the standard
gdb docs) relevant 
information about the functionality of GDB's symbol
interpreting 
engine? and what steps should be taken to do this?

I have used the binutils program objdump and that has
the capability to 
read the IEEE 695 symbol files.  So hopefully I can
re-use a lot of the 
code from there.

Any help would be greatly appreciated,

Thanks,

Chris



__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com


             reply	other threads:[~2002-07-22  8:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-22  1:42 Chris Lewkowski [this message]
2002-07-22  6:24 ` Elena Zannoni

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=20020722084241.72797.qmail@web20208.mail.yahoo.com \
    --to=chrislewkowski@yahoo.com \
    --cc=gdb@sources.redhat.com \
    /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