S390: Fix syscall list for s390x
authorAndreas Arnez <arnez@linux.vnet.ibm.com>
Wed, 4 Mar 2015 09:40:40 +0000 (10:40 +0100)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Wed, 4 Mar 2015 09:40:40 +0000 (10:40 +0100)
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
gdb/s390-linux-tdep.c

index b0da91de726eacc2179f9552e2ac75cd336dfc72..3d1a082b18093e3ae20dcc10e990e88cf4bb2379 100644 (file)
@@ -1,3 +1,8 @@
+2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * s390-linux-tdep.c (s390_gdbarch_init): Use the correct syscall
+       XML file for 64-bit targets.
+
 2015-03-03  Simon Marchi  <simon.marchi@ericsson.com>
 
        * target.h (find_default_create_inferior): Remove declaration.
index 79b3612c98d7bd8c993b6bbd437ff2a7b92188c7..2dfd8e4949cde8b4fd51450b89af7ff55f27d519 100644 (file)
@@ -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;
     }