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


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


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