This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: handle "MiniDebuginfo" section
- From: Pedro Alves <palves at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Tom Tromey <tromey at redhat dot com>, gdb-patches at sourceware dot org
- Date: Fri, 09 Nov 2012 18:53:14 +0000
- Subject: Re: RFA: handle "MiniDebuginfo" section
- References: <87wqxuel5k.fsf@fleche.redhat.com> <20121109182316.GQ5103@adacore.com>
On 11/09/2012 06:23 PM, Joel Brobecker wrote:
> To avoid the #ifdef HAVE_LZMA, I might even provide two versions of the
> file, one with the real implementation, and one with the phony one, and
> have the configure choose which one to link in. This isn't what we've
> been doing in the past (iconv, python), so to be taken with a grain of
> salt. I think it'll make the code a little easier to navigate, however.
See xml-tdesc.c, where we do something similar, but not in separate
files (which I actually prefer, for being simpler). In that case, we
warn once if xml support isn't built in. It could be useful here too,
not sure:
warning: Can not parse .gnu_debugdata section; LZMA support was disabled at compile time
--
Pedro Alves