old-cross-binutils/gdb/testsuite
Joel Brobecker 22355c9080 read_frame_register_value and big endian arches
The read_frame_register_value function as it was implemented introduced
a regression on big-endian targets. The problem appears when trying to
get the value of an entity stored inside a register, and when the size
of the entity is smaller than the size of the register. In that case,
we were always reading the first N bytes of the register, which is wrong
for big-endian architectures, where we need to read the last N bytes of
the register.

gdb/ChangeLog:

        * findvar.c (read_frame_register_value): Read correct bytes from
        register on big-endian architectures.

gdb/testsuite/ChangeLog:

        * gdb.ada/small_reg_param: New testcase.
2011-11-10 17:14:41 +00:00
..
config gdb: testsuite: add Blackfin support 2011-07-06 18:40:30 +00:00
gdb.ada read_frame_register_value and big endian arches 2011-11-10 17:14:41 +00:00
gdb.arch gdb/ 2011-11-09 00:53:40 +00:00
gdb.asm gdb: testsuite: add Blackfin support 2011-07-06 18:40:30 +00:00
gdb.base gdb/testsuite/ 2011-11-03 17:43:51 +00:00
gdb.cell
gdb.cp gdb 2011-11-09 19:50:15 +00:00
gdb.disasm
gdb.dwarf2 gdb/testsuite/ 2011-10-28 17:32:30 +00:00
gdb.fortran
gdb.gdb
gdb.hp
gdb.java gdb/testsuite/ 2011-07-07 14:08:21 +00:00
gdb.mi gdb/ 2011-10-09 19:46:05 +00:00
gdb.modula2
gdb.multi
gdb.objc
gdb.opencl
gdb.opt
gdb.pascal
gdb.python gdb/testsuite/ 2011-10-28 17:32:30 +00:00
gdb.reverse gdb/testsuite/ 2011-11-08 08:23:49 +00:00
gdb.server
gdb.stabs
gdb.threads gdb/testsuite/ 2011-10-28 19:24:45 +00:00
gdb.trace gdb/gdbserver: 2011-11-05 13:16:23 +00:00
gdb.xml gdb/testsuite/ 2011-08-14 15:58:40 +00:00
lib * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo. 2011-11-08 19:51:17 +00:00
.gdbinit
aclocal.m4
ChangeLog read_frame_register_value and big endian arches 2011-11-10 17:14:41 +00:00
configure
configure.ac
dg-extract-results.sh
Makefile.in
TODO