binutils-gdb/gdb/testsuite/gdb.ada
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
..
array_bounds
array_return
array_subscript_addr
arrayidx
arrayparam
arrayptr extend scope of testing in gdb.ada/arrayptr 2011-04-01 17:03:52 +00:00
atomic_enum
call_pn
catch_ex
char_enum handle character-based enumeration typedefs 2011-07-01 18:25:17 +00:00
char_param
complete
cond_lang
dyn_loc
exec_changed
exprs
fixed_cmp
fixed_points
formatted_ref
frame_args
fun_addr
fun_in_declare
funcall_param
homonym
int_deref
interface
lang_switch
mi_catch_ex improve Ada exception catchpoint MI notification 2011-04-01 16:59:58 +00:00
mi_task_info [Ada] Fix number of lines in -ada-task-info output 2011-10-21 18:46:06 +00:00
mod_from_name
nested
null_array
null_record
packed_array
packed_tagged
print_chars
ptr_typedef missing type description for typedef to pointer value 2011-07-01 18:26:22 +00:00
ptype_field
ptype_tagged_param
rec_return
ref_param
ref_tick_size
same_enum treat identical enum types as the same type 2011-07-01 18:26:50 +00:00
small_reg_param read_frame_register_value and big endian arches 2011-11-10 17:14:41 +00:00
start
str_ref_cmp
sym_print_name gdb/testsuite/ 2011-03-28 20:07:12 +00:00
taft_type
tagged
tasks
tick_last_segv
type_coercion
uninitialized_vars
variant_record_packed_array
watch_arg
widewide
Makefile.in 2011-02-22 Michael Snyder <msnyder@vmware.com> 2011-02-22 20:52:49 +00:00
array_bounds.exp
array_return.exp
array_subscript_addr.exp
arrayidx.exp
arrayparam.exp gdb/testsuite/ 2011-03-28 20:07:12 +00:00
arrayptr.exp variables whose type is a typedef to an array pointer 2011-07-01 18:25:49 +00:00
assign_1.exp
atomic_enum.exp
boolean_expr.exp
call_pn.exp
catch_ex.exp bettter display for temporary Ada exception catchpoints 2011-07-01 18:35:36 +00:00
char_enum.exp handle character-based enumeration typedefs 2011-07-01 18:25:17 +00:00
char_param.exp
complete.exp
cond_lang.exp
dyn_loc.exp
exec_changed.exp
exprs.exp
fixed_cmp.exp
fixed_points.exp
formatted_ref.exp
frame_args.exp
fun_addr.exp
fun_in_declare.exp
funcall_param.exp
gnat_ada.gpr
homonym.exp
info_types.c
info_types.exp
int_deref.exp
interface.exp
lang_switch.exp
mi_catch_ex.exp improve Ada exception catchpoint MI notification 2011-04-01 16:59:58 +00:00
mi_task_info.exp [Ada] Fix number of lines in -ada-task-info output 2011-10-21 18:46:06 +00:00
mod_from_name.exp
nested.exp
null_array.exp
null_record.exp
packed_array.exp Fix printing address of packed array 2011-07-01 18:27:25 +00:00
packed_tagged.exp
print_chars.exp
print_pc.exp
ptr_typedef.exp missing type description for typedef to pointer value 2011-07-01 18:26:22 +00:00
ptype_arith_binop.exp
ptype_field.exp
ptype_tagged_param.exp
rec_return.exp
ref_param.exp
ref_tick_size.exp
same_enum.exp treat identical enum types as the same type 2011-07-01 18:26:50 +00:00
small_reg_param.exp read_frame_register_value and big endian arches 2011-11-10 17:14:41 +00:00
start.exp 2011-05-16 Pedro Alves <pedro@codesourcery.com> 2011-05-16 13:56:41 +00:00
str_ref_cmp.exp gdb/testsuite/ 2011-03-28 20:07:12 +00:00
sym_print_name.exp gdb/testsuite/ 2011-03-28 20:07:12 +00:00
taft_type.exp
tagged.exp
tasks.exp [Ada] Re-implement `info tasks' command using ui-out 2011-09-16 19:09:57 +00:00
tick_last_segv.exp
type_coercion.exp
uninitialized_vars.exp
variant_record_packed_array.exp
watch_arg.exp
widewide.exp