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: [PATCH] fix debugging code compiled for newer PPC BookE processors


> -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


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