linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #04271
[Bug 189241] Re: Exception Info
i have taken backtrace-mingw out as it depends on the bfd library, which
is part of binutils. the following e-mail details several reasons why
using bfd is not a good idea:
<http://cygwin.com/ml/cygwin/2011-06/msg00149.html>
to summarize:
- there's a license issue: if one links to it, one has to provide its sources.
- it isn't supposed to be used by regular apps; it's just for binutils itself.
- trying to build it is a pain, requires various files from all over the binutils repo and just isn't practical.
so, with bfd out of the way, i have tried to look for other DWARF
parsers.
google-breakpad has one but too dependent on their code: it focuses on
generating information for their minidump format.
libdwarf <http://reality.sgiweb.org/davea/dwarf.html> is the only other
alternative i could find. it is very well documented (PDF files!). a
problem is that libdwarf was initially only designed to parse the DWARF
info contained in ELF programs (the binary format used on Linux);
Windows uses a different format, PE/COFF. libdwarf however provides
abstract methods that one can use to make it swallow a non-ELF format.
implemented in rev 2564.
this hasn't been easy as this is apparently the first public non-ELF use of libdwarf; but it has been very interesting. :)
--
You received this bug notification because you are a member of
Dcplusplus-team, which is a bug assignee.
https://bugs.launchpad.net/bugs/189241
Title:
Exception Info
Status in ADCH++:
Confirmed
Status in DC++:
Fix Committed
Bug description:
Feature Request:
Generating an ExceptionInfo.txt like the old dc++'s used to do would be nice.
To manage notifications about this bug go to:
https://bugs.launchpad.net/adchpp/+bug/189241/+subscriptions