This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: PT_TEXT_ADDR on ARM
- From: Simon Richter <Simon dot Richter at hogyros dot de>
- To: Andreas Schwab <schwab at redhat dot com>
- Cc: gdb at sourceware dot org
- Date: Fri, 20 Aug 2010 13:29:08 +0200
- Subject: Re: PT_TEXT_ADDR on ARM
- References: <20100820083257.GA3902@richter> <m3y6c17iwz.fsf@hase.home>
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