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: Checked in: [RFA] read_frame_register_value and big endian arches


> It seems this completely broke reading of register variables on SPU.  These
> are in the high-order element of the (always vector) registers, even though
> we have a big-endian architecture.

Ooops, sorry about that.

> It seems the underlying problem is that your new
> read_frame_register_value routine completely ignores the value_offset
> of the lval_register value.

Yeah, I'm not very with that part of struct values.

> note that for big-endian architectures, value_offset is already
> correct, so if you'd respect it, you wouldn't need any special-purpose
> big-endian code.
> 
> Also, if you'd respect value_offset, the SPU special cases would work.

I will try to fix ASAP. I am sorry if that caused some fustration
when trying to do your testing. I didn't want to do the work in
the first place but I, too, got my testing broken by someone else's
change!

-- 
Joel


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