This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: handle "MiniDebuginfo" section


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]