This is the mail archive of the
mailing list for the binutils project.
Re: libbfd Mac OS X support?
- From: Eric Christopher <echristo at apple dot com>
- To: Ethan Tira-Thompson <ejt at andrew dot cmu dot edu>
- Cc: binutils at sourceware dot org
- Date: Sun, 30 Apr 2006 17:29:06 -0700
- Subject: Re: libbfd Mac OS X support?
- References: <2119EFE1-B864-43C7-9847-279395E88148@andrew.cmu.edu>
However, I see GDB is somehow able to extract file/function info,
and afaik, it's using libbfd...
1. Which copy of bfd should I be linking against (i.e. the one in
gcc, or gdb, or binutils...?)
There's a copy of bfd in the Apple version of gdb that has some
2. Is bfd_find_nearest_line simply unimplemented on OS X, or is
there something deeper?
Something deeper. Mostly bfd is unsupported for OS X unfortunately.
3. Do you know how GDB extracts line info? (i.e. suggestions for
I'd suggest using the bfd work for OS X available from the Apple
version of gdb.