From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30944 invoked by alias); 14 Mar 2011 12:59:37 -0000 Received: (qmail 30936 invoked by uid 22791); 14 Mar 2011 12:59:36 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 Mar 2011 12:59:31 +0000 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Pz7Mu-0008UN-U7; Mon, 14 Mar 2011 08:59:28 -0400 Date: Mon, 14 Mar 2011 13:16:00 -0000 Message-Id: From: Eli Zaretskii To: "Pierre Muller" CC: pedro@codesourcery.com, gdb-patches@sourceware.org In-reply-to: <000901cbe246$485773b0$d9065b10$@muller@ics-cnrs.unistra.fr> (pierre.muller@ics-cnrs.unistra.fr) Subject: Re: New ARI warning Sat Mar 12 01:53:29 UTC 2011 Reply-to: Eli Zaretskii References: <20110312015329.GA20179@sourceware.org> <006701cbe220$a1a8dba0$e4fa92e0$@muller@ics-cnrs.unistra.fr> <201103141213.43979.pedro@codesourcery.com> <000901cbe246$485773b0$d9065b10$@muller@ics-cnrs.unistra.fr> X-IsSubscribed: yes 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: 2011-03/txt/msg00720.txt.bz2 > From: "Pierre Muller" > Cc: > Date: Mon, 14 Mar 2011 13:49:39 +0100 > > linux-nat.h-147-/* Create a generic GNU/Linux target using traditional > linux-nat.h-148- ptrace register access. */ > linux-nat.h-149-struct target_ops * > linux-nat.h:150:linux_trad_target (CORE_ADDR (*register_u_offset)(struct > gdbarch *, int, int)); Either struct target_ops *linux_trad_target (CORE_ADDR (*register_u_offset)(struct gdbarch *, int, int)); or even struct target_ops *linux_trad_target (CORE_ADDR (*register_u_offset)(struct gdbarch *, int, int)); IOW, such marginal examples are not interesting (one should use a typedef for that function argument, anyway, to make the prototype legible).