This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit, s390] Call set_gdbarch_get_siginfo_type


Hello,

on s390 the get_siginfo_type callback was not set, causing failure
of the siginfo-infcall.exp test case.  Fixed by the patch below.

Tested on s390x-ibm-linux, committed to mainline.

Bye,
Ulrich


ChangeLog:

	* s390-tdep.c (s390_gdbarch_init): Call set_gdbarch_get_siginfo_type.


Index: gdb-head/gdb/s390-tdep.c
===================================================================
--- gdb-head.orig/gdb/s390-tdep.c
+++ gdb-head/gdb/s390-tdep.c
@@ -2992,6 +2992,8 @@ s390_gdbarch_init (struct gdbarch_info i
   set_gdbarch_fetch_tls_load_module_address (gdbarch,
                                              svr4_fetch_objfile_link_map);
 
+  set_gdbarch_get_siginfo_type (gdbarch, linux_get_siginfo_type);
+
   return gdbarch;
 }
 
-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]