From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5717 invoked by alias); 27 Apr 2012 14:17:53 -0000 Received: (qmail 5708 invoked by uid 22791); 27 Apr 2012 14:17:51 -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; Fri, 27 Apr 2012 14:17:38 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 5DB441B4006; Fri, 27 Apr 2012 14:17:37 +0000 (UTC) From: Mike Frysinger To: Will Deacon Subject: Re: [PATCH v4] gdbserver: uclinux: pull in ptrace offset definitions from asm/ptrace.h Date: Fri, 27 Apr 2012 14:49:00 -0000 User-Agent: KMail/1.13.7 (Linux/3.4.0-rc1; KDE/4.6.5; x86_64; ; ) Cc: gdb-patches@sourceware.org, palves@redhat.com References: <1335523886-14995-1-git-send-email-will.deacon@arm.com> In-Reply-To: <1335523886-14995-1-git-send-email-will.deacon@arm.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart7200237.mm1Q3JIdns"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201204271019.31549.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/msg00990.txt.bz2 --nextPart7200237.mm1Q3JIdns Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-length: 665 On Friday 27 April 2012 06:51:26 Will Deacon wrote: > When debugging a uclinux target, it is necessary to retrieve the text > and data offsets of the running program in order for symbol resolution > to work correctly. >=20 > This patch pulls in definitions for PT_{TEXT,DATA,TEXT_END}_ADDR from > the kernel's exported ptrace header, which can be issued as `magic' > addresses to the PTRACE_PEEKUSER request in order to retrieve the child > offsets. For those architectures currently providing their own inline > definitions, the existing code is used as a fallback if the header > doesn't provide any overrides. Acked-by: Mike Frysinger -mike --nextPart7200237.mm1Q3JIdns 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) iQIcBAABAgAGBQJPmqrzAAoJEEFjO5/oN/WBh+MQAOAGxZlhd6aqT2SFMc0dtfhV ymK+DirfkayivU6WxdAiDpJ0UMD7JVP5Jg7TA3ewvUifMivLVuPTpleKtAE7ZS9U PK1bdTvWzYWdHT0uhiySz37Cqi0u379rUqGmgCVFtJJ7S1IwXSwzCv7QY7s6Ggsd EWklzrSPJpPF1PxqHfVxJ37hPMeEnZktgVM7WJ2D4HGFUQgu+YwY9tnzOrvKwkfK yaEFr+EX9hPm/FRPjVd1gAFZA2xVVifBfk7LgDlStke/HrYAbcLh4OQu5BqLf0mT /hfczWF0vcz1anyBNl/kfQeXkHSjWrkNOBrB0SqUUgcTfL4+RO3YPjb7NJucQY3m 4NbosX8ofVOotyxRK9Apwf4MjVSUUE092NNiayXzE5unoFU8jr2NP+VmEkdA2e/f iVp5klimKvfncQjIatwnATzZmue1S0oiAPVau4bXLVLhie6nJLBGys2h1w6EgRNN ndH9O0nKwjt7pvvkct/BkhKsmd7yPIFHF5aGk2XZDhIzxwZ1XDf90dQZBOeigj8d 9KoDDPLvxjfBkHb0qda/iOslYX5BP1y1pRw7+adP+EBRJ6SuUxvH6v1ZBr9sc2C+ oK3OjVJ/2yJfkd2cpdJ6i9fTDZ2YzqPM9YHM/ir0vhhpB9WM+FRmRPHTEaM2eH32 oNB2BQc+JdsWx3j0tQC9 =oCL1 -----END PGP SIGNATURE----- --nextPart7200237.mm1Q3JIdns--