From d851a69aa2b4b6868c07386fd795521a0e93a09a Mon Sep 17 00:00:00 2001 From: Andreas Arnez Date: Wed, 4 Mar 2015 10:40:40 +0100 Subject: [PATCH] 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. --- gdb/ChangeLog | 5 +++++ gdb/s390-linux-tdep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b0da91de726..3d1a082b180 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-03-04 Andreas Arnez + + * s390-linux-tdep.c (s390_gdbarch_init): Use the correct syscall + XML file for 64-bit targets. + 2015-03-03 Simon Marchi * target.h (find_default_create_inferior): Remove declaration. diff --git a/gdb/s390-linux-tdep.c b/gdb/s390-linux-tdep.c index 79b3612c98d..2dfd8e4949c 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; } -- 2.30.2