This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit, s390] Call set_gdbarch_get_siginfo_type
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 30 Nov 2011 09:36:14 +0100 (CET)
- Subject: [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