Article View: gnu.gcc.help
Article #52281Re: GDB and libbfd.a
From: Leonard Norrgard
Date: Wed, 09 Dec 1992 23:30
Date: Wed, 09 Dec 1992 23:30
29 lines
2062 bytes
2062 bytes
Ray Frederick (s442013@nexus.yorku.ca) wrote: > Is there complete documentation to the bfd library? I only found bfd.texinfo in > bfd/doc and it isn't complete. I have been trying to follow the code that > recognizes a loadfile but I don't have any luck. The documentation is extracted from the source code. There's also some include files created from documentation in the source (which may take a while to figure out). To build the documentation, you first have to configure the bfd package, then go to bfd/doc and say "make". Examine doc/Makefile (created by configure) for clues on how this all works. > I am interested in creating a new bfd but would like to be able to follow the > code that examines the files structure first. I'd suggest executing it in a source level debugger (go the the ../binutils and "make nm" for example, then run that in the debugger). When writing a new format, try to avoid looking at the a.out-related files (unless you're adding an a.out flavour, of course), as these add yet another level of complexity. I found the srec, ieee and bout-related files to be pretty useful. BTW, I'm currently adding bfd support for the amiga hunk format. > Any help would be greatly appreciated. > > Ray. s442013@nexus.yorku.ca -- Leonard
Technical Details
Message-ID:
<1992Dec9.233042.27521@uwasa.fi>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!uwasa.fi!brando.uwasa.fi!vinsciReferences:
<s442013.723830714@yorku.ca>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,bf62a4c9fd75be49 X-Google-Attributes: gid11318c,public X-Google-Thread: 1135a1,bf62a4c9fd75be49 X-Google-Attributes: gid1135a1,public X-Google-ArrivalTime: 1992-12-09 15:43:06 PST Newsgroups: gnu.gcc.help,gnu.gdb Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!uwasa.fi!brando.uwasa.fi!vinsci From: vinsci@brando.uwasa.fi (Leonard Norrgard) Subject: Re: GDB and libbfd.a Message-ID: <1992Dec9.233042.27521@uwasa.fi> Followup-To: gnu.gcc.help,gnu.gdb Sender: news@uwasa.fi (Network news) Nntp-Posting-Host: brando.uwasa.fi Organization: University of Vaasa, Finland X-Newsreader: TIN [version 1.1 PL7] References: <s442013.723830714@yorku.ca> Date: Wed, 9 Dec 1992 23:30:42 GMT Lines: 29