From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30146 invoked by alias); 19 Jul 2012 12:04:34 -0000 Received: (qmail 30138 invoked by uid 22791); 19 Jul 2012 12:04:33 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 Jul 2012 12:04:19 +0000 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3WdDTK0ttQz3hhbm for ; Thu, 19 Jul 2012 14:05:57 +0200 (CEST) Received: from igel.home (ppp-88-217-104-196.dynamic.mnet-online.de [88.217.104.196]) by mail.mnet-online.de (Postfix) with ESMTPA id 3WdDRQ3tz0zbbct for ; Thu, 19 Jul 2012 14:04:18 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id EB710CA2A4; Thu, 19 Jul 2012 14:04:17 +0200 (CEST) From: Andreas Schwab To: gdb-patches@sourceware.org Subject: [PATCH] Register linux_get_siginfo_type for GDB_OSABI_LINUX on ppc X-Yow: Oh, I get it!! ``The BEACH goes on,'' huh, SONNY?? Date: Thu, 19 Jul 2012 12:04:00 -0000 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-07/txt/msg00334.txt.bz2 Tested on ppc{,64}-linux. OK for trunk and 7.5 branch? Andreas. * ppc-linux-tdep.c (ppc_linux_init_abi): Register linux_get_siginfo_type. --- gdb/ppc-linux-tdep.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c index 98704c1..c7b70db 100644 --- a/gdb/ppc-linux-tdep.c +++ b/gdb/ppc-linux-tdep.c @@ -1822,6 +1822,8 @@ ppc_linux_init_abi (struct gdbarch_info info, set_gdbarch_displaced_step_location (gdbarch, ppc_linux_displaced_step_location); } + + set_gdbarch_get_siginfo_type (gdbarch, linux_get_siginfo_type); } /* Provide a prototype to silence -Wmissing-prototypes. */ -- 1.7.11.2 -- 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."