aboutsummaryrefslogtreecommitdiff
path: root/gdb/s390-linux-tdep.c
diff options
context:
space:
mode:
authorAndreas Arnez <arnez@linux.vnet.ibm.com>2015-03-04 10:40:40 +0100
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2015-03-04 10:40:40 +0100
commitd851a69aa2b4b6868c07386fd795521a0e93a09a (patch)
tree7b942f633fc849c8d0c1b22ec309239311361870 /gdb/s390-linux-tdep.c
parentdf88b70224175011abf2cd599d5eec6fb81a90b7 (diff)
downloadgdb-d851a69aa2b4b6868c07386fd795521a0e93a09a.zip
gdb-d851a69aa2b4b6868c07386fd795521a0e93a09a.tar.gz
gdb-d851a69aa2b4b6868c07386fd795521a0e93a09a.tar.bz2
S390: Fix syscall list for s390x
This patch fixes a typo that caused the wrong syscall XML file to be used for s390x targets. gdb/ChangeLog: * s390-linux-tdep.c (s390_gdbarch_init): Use the correct syscall XML file for 64-bit targets.
Diffstat (limited to 'gdb/s390-linux-tdep.c')
-rw-r--r--gdb/s390-linux-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/s390-linux-tdep.c b/gdb/s390-linux-tdep.c
index 79b3612..2dfd8e4 100644
--- a/gdb/s390-linux-tdep.c
+++ b/gdb/s390-linux-tdep.c
@@ -3313,7 +3313,7 @@ s390_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
s390_address_class_type_flags_to_name);
set_gdbarch_address_class_name_to_type_flags (gdbarch,
s390_address_class_name_to_type_flags);
- set_xml_syscall_file_name (gdbarch, XML_SYSCALL_FILENAME_S390);
+ set_xml_syscall_file_name (gdbarch, XML_SYSCALL_FILENAME_S390X);
break;
}