diff options
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r-- | gdb/ada-lang.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 2eac705..9b5d2c6 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -7922,7 +7922,8 @@ ada_value_binop (struct value *arg1, struct value *arg2, enum exp_opcode op) val = allocate_value (type1); store_unsigned_integer (value_contents_raw (val), - TYPE_LENGTH (value_type (val)), v); + TYPE_LENGTH (value_type (val)), + gdbarch_byte_order (get_type_arch (type1)), v); return val; } |