diff options
Diffstat (limited to 'gdb/scm-exp.c')
-rw-r--r-- | gdb/scm-exp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/scm-exp.c b/gdb/scm-exp.c index 8b7be2a..1dd1615 100644 --- a/gdb/scm-exp.c +++ b/gdb/scm-exp.c @@ -312,7 +312,8 @@ tryagain: if (!is_scmvalue_type (value_type (val))) error ("quoted scm form yields non-SCM value"); svalue = extract_signed_integer (value_contents (val), - TYPE_LENGTH (value_type (val))); + TYPE_LENGTH (value_type (val)), + gdbarch_byte_order (parse_gdbarch)); goto handle_immediate; } return; |