This is the mail archive of the
mailing list for the binutils project.
libbfd and missing headers
- From: Philip Prindeville <philipp_subx at redfish-solutions dot com>
- To: binutils at sourceware dot org
- Date: Sat, 25 Aug 2012 19:33:03 -0600
- Subject: libbfd and missing headers
I'm a contributor to Fedora, Poco, and a few other projects. I'm trying to add line number information to Poco, using CentOS's binutils-devel (which includes libbfd.so/.a and <bfd.h>) for be used in conjunction with backtrace(), etc.
However, the packaging is missing <demangle.h>, <elf-bfd.h>, <bucomm.h>, etc.
I'm thinking at it would be nice if 80% of addr2line.c was turned into library code that was part of libbfd.a with an API, and then objdump.c and addr2line.c could just use that API (as well as my code, of course).
How feasible is this?