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:23:26 -0700
- Subject: Re: [PATCH] fix debugging code compiled for newer PPC BookE processors
- References: <1288380041-22165-1-git-send-email-froydnj@codesourcery.com>
> -Nathan
>
> * rs6000-tdep.c (bfd_uses_spe_extensions): New function.
> (rs6000_gdbarch_init): Call it.
This looks reasonable to me. Just one question, but please go ahead
and commit if you think the code is right.
> + /* The type must be 2. */
> + if (type != 2)
> + break;
So, the type must always be 2 and I am to understand that if type is not
2, then the data is screwed, hence the early exit? What's the purpose of
that field, if it is always the same value?
--
Joel