This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] read_frame_register_value and big endian arches
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: Joel Brobecker <brobecker at adacore dot com>
- Date: Mon, 7 Nov 2011 19:41:41 +0000
- Subject: Re: [RFA] read_frame_register_value and big endian arches
- References: <20111026213726.GV19246@adacore.com> <1320022996-14705-1-git-send-email-brobecker@adacore.com>
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