From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29333 invoked by alias); 26 Apr 2012 18:26:13 -0000 Received: (qmail 29294 invoked by uid 22791); 26 Apr 2012 18:26:12 -0000 X-SWARE-Spam-Status: No, hits=-8.3 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 26 Apr 2012 18:25:58 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 73BC51B4036; Thu, 26 Apr 2012 18:25:58 +0000 (UTC) From: Mike Frysinger To: Pedro Alves Subject: Re: [PATCH v3] gdbserver: uclinux: pull in ptrace offset definitions from asm/ptrace.h Date: Thu, 26 Apr 2012 18:26:00 -0000 User-Agent: KMail/1.13.7 (Linux/3.4.0-rc1; KDE/4.6.5; x86_64; ; ) Cc: gdb-patches@sourceware.org, Will Deacon References: <1335463380-7288-1-git-send-email-will.deacon@arm.com> <201204261412.33446.vapier@gentoo.org> <4F9990A3.6030905@redhat.com> In-Reply-To: <4F9990A3.6030905@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1844339.RbupNEaYoH"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201204261427.46580.vapier@gentoo.org> 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: 2012-04/txt/msg00943.txt.bz2 --nextPart1844339.RbupNEaYoH Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-length: 1014 On Thursday 26 April 2012 14:14:59 Pedro Alves wrote: > On 04/26/2012 07:12 PM, Mike Frysinger wrote: > > On Thursday 26 April 2012 14:03:00 Will Deacon wrote: > >> > +/* PTRACE_TEXT_ADDR and friends. */ > >> > +#include > >=20 > > check for asm/ptrace.h in configure.ac and then just depend on > > HAVE_ASM_PTRACE_H ? although this is fine too since uClibc is > > realistically the only C library being used with no-mmu Linux systems. >=20 > Was there a time Linux didn't have this header? When we include it GDB, = we > include it unconditionally (though we don't include it in all ports), and > in current mainline, it seems that all 27 ports under arch/ have it. it's not so much a matter of whether it's provided, but whether it can be=20 safely included. ia64 has a history of being a pita to include their ptrac= e=20 headers, but maybe that doesn't matter to gdbserver. might be worth seeing if we can do a release with an unconditional include = and=20 see if anyone complains. -mike --nextPart1844339.RbupNEaYoH Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJPmZOiAAoJEEFjO5/oN/WBVUcP/A04GwYGbP41oy/7EgtED5iD MjdRZ3PPSpjXlTjqvZL2Qyz56BQnYR0VY8kx3GXC5VWwt3I2RRV5rUkAwx/h9N2U 9QWF37vJpxdBOPdUWe+TmMCU4yL1OTanp7O06VkxPjO9OrYFFk3f2FYQ2eMfUzLp xgUdDUVOvGWWm8J7bblTvsyGmpsNs8NSRYRLYvCjuT8s8mJDLbrXB/DS0lBJYJIU VzEJSapcer6gZa0i+qXFx29x87+moRaf4T9O2EOb3Dl33bFd0cJYR9pgowruAyGj yg/exI/geSiP17+mFuNhlDFX1EJ9hcoRcoh++hqs9Da9+9Ry21IsSK2w3iWx0wqr huVIVTtNWf5JwfgBeCCOlXkYabr+gUd3DfZVbe4RllrjnroetAhZ6OxACfMbn8LH 2EL42gzdAP2v1PMmspL7ynYEZ9vtD7gywL7cg2QyhK/o8KkC57Ulp3RxZeFePyNm NQJxJiXmkqybAjfFhkCvu5o4ny/Eu9yi2YgRcC1gtHlKmR43Un78+4f+hDPDR2HL thhz0CpzGH3UbxtH975Uc35JCq28CGhkS3yDQxk7LutJQp3iJE24uSvjzB9SitpF 6kh7GSruym94gDQjpbFasgA2YAZbRLc1xczlzZVkHVWQmq1QOwedljw5z6dw+L78 fYHAleFVDHO5c6YhgBaT =PBok -----END PGP SIGNATURE----- --nextPart1844339.RbupNEaYoH--