This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] remove ECOFF
- From: Stan Shebs <stanshebs at earthlink dot net>
- To: gdb-patches at sourceware dot org
- Date: Mon, 19 Aug 2013 16:22:00 -0700
- Subject: Re: [PATCH] remove ECOFF
- References: <1376936369-30712-1-git-send-email-tromey at redhat dot com> <alpine dot DEB dot 1 dot 10 dot 1308191948550 dot 8514 at tp dot orcam dot me dot uk>
On 8/19/13 2:20 PM, Maciej W. Rozycki wrote:
> On Mon, 19 Aug 2013, Tom Tromey wrote:
>
>> The others are in mips_find_abi_section. I don't know what the impact
>> would be of removing this code, so I did not touch it.
>
> The MIPS target wants to use minimal ECOFF debug information that is
> stored in ELF binaries in the so called PDR or Procedure Descriptor Record
> section [1].
mdebugread.c is a lot of code to maintain for just this one use. Would
it be possible to do a selective restore of the section reader when you
bring back the rest of PDR handling?
Right now mdebugread.c is unknowingly getting more and more broken (no
way to test PDR regressions because there is no code using it now,
right?), and so your revival plan is going to be complicated by having
to figure out which generic patches need to be undone.
Another possible bonus is that a future redesigned PDR reader can be
more on-demand, only activate if one needs prologue analysis and DWARF
info is missing.
Stan
stan@codesourcery.com