Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* m68k-linux: provide $_siginfo
@ 2012-03-08 13:38 Andreas Schwab
  2012-03-09 19:32 ` Joel Brobecker
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2012-03-08 13:38 UTC (permalink / raw)
  To: gdb-patches

2012-03-08  Andreas Schwab  <schwab@linux-m68k.org>

	* m68klinux-tdep.c (m68k_linux_init_abi): Register
	linux_get_siginfo_type.

diff --git a/gdb/m68klinux-tdep.c b/gdb/m68klinux-tdep.c
index cf53bae..6f9a34a 100644
--- a/gdb/m68klinux-tdep.c
+++ b/gdb/m68klinux-tdep.c
@@ -372,6 +372,8 @@ m68k_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   /* Enable TLS support.  */
   set_gdbarch_fetch_tls_load_module_address (gdbarch,
                                              svr4_fetch_objfile_link_map);
+
+  set_gdbarch_get_siginfo_type (gdbarch, linux_get_siginfo_type);
 }
 
 /* Provide a prototype to silence -Wmissing-prototypes.  */
-- 
1.7.9.3


-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: m68k-linux: provide $_siginfo
  2012-03-08 13:38 m68k-linux: provide $_siginfo Andreas Schwab
@ 2012-03-09 19:32 ` Joel Brobecker
  0 siblings, 0 replies; 2+ messages in thread
From: Joel Brobecker @ 2012-03-09 19:32 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: gdb-patches

> 2012-03-08  Andreas Schwab  <schwab@linux-m68k.org>
> 
> 	* m68klinux-tdep.c (m68k_linux_init_abi): Register
> 	linux_get_siginfo_type.

Seems OK to me as well.

-- 
Joel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-09 19:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-08 13:38 m68k-linux: provide $_siginfo Andreas Schwab
2012-03-09 19:32 ` Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox