From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21466 invoked by alias); 20 Aug 2010 11:29:19 -0000 Received: (qmail 21455 invoked by uid 22791); 20 Aug 2010 11:29:18 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from static.88-198-202-190.clients.your-server.de (HELO kleinhenz.com) (88.198.202.190) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 20 Aug 2010 11:29:11 +0000 Received: from localhost (dslb-092-075-161-131.pools.arcor-ip.net [92.75.161.131]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Simon Richter", Issuer "CA Cert Signing Authority" (verified OK)) by kleinhenz.com (Postfix) with ESMTP id 6C28B464AC0; Fri, 20 Aug 2010 11:26:03 +0200 (CEST) Date: Fri, 20 Aug 2010 11:29:00 -0000 From: Simon Richter To: Andreas Schwab Cc: gdb@sourceware.org Subject: Re: PT_TEXT_ADDR on ARM Message-ID: <20100820112907.GB6950@richter> References: <20100820083257.GA3902@richter> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-08/txt/msg00128.txt.bz2 Hi, On Fri, Aug 20, 2010 at 11:06:04AM +0200, Andreas Schwab wrote: > I wonder how 0x10000 can actually work. I'm pretty sure that > sizeof(struct user) < 0x10000, so this would always return EIO > (according to arch/arm/kernel/ptrace.c:ptrace_read_user). Good point. Taking this to the kernel mailing list... Simon