This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] fix debugging code compiled for newer PPC BookE processors
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Nathan Froyd <froydnj at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 2 Nov 2010 11:53:41 -0700
- Subject: Re: [PATCH] fix debugging code compiled for newer PPC BookE processors
- References: <1288380041-22165-1-git-send-email-froydnj@codesourcery.com> <20101102182326.GD2492@adacore.com> <20101102184612.GD26083@nightcrawler>
> I don't know exactly what the purpose is. The E500 ABI User's Guide
> says simply:
>
> For the .PPC.EMB.apuinfo section, the name shall be ???APUinfo\0???, the
> type shall be 2 (as type 1 is already reserved for ELF_NOTE_ABI), and
> the data shall contain a series of words containing APU information,
> one per word. The APU information contains two unsigned halfwords: the
> upper half contains the unique APU identi???er, and the lower half
> contains the revision of that APU.
Interesting. Perhaps the purpose is for cases where all those separate
sections can no longer be separate, but merged somehow somewhere.
In that case, the type becomes important whereas, right now, it's only
redundant with the section name...
In any case, the patch looked fine to me.
--
Joel