[RFA] read_frame_register_value and big endian arches

Pedro Alves pedro@codesourcery.com
Mon Nov 7 19:42:00 GMT 2011


Hi Joel,

On Monday 31 October 2011 01:03:16, Joel Brobecker wrote:

> gdb/ChangeLog:
> 
>         * findvar.c (read_frame_register_value): Read the correct bytes
>         from registers on big-endian architectures.

Looks good to me.

> +if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug optimize=-O1]] != "" } {

Does the test really depend on the compiler doing the right optimizations?

-- 
Pedro Alves



More information about the Gdb-patches mailing list