This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Whacky ia64: linux_proc_xfer_partial and lseek vs pread64


On Sat, Feb 11, 2006 at 05:49:48PM +0100, Andreas Schwab wrote:
> Daniel Jacobowitz <drow@false.org> writes:
> 
> > Fascinating.  That definitely seems like a kernel bug to me; why not?
> 
> Looking closer, it indeed looks like a bug.  With 2.6.5 this still did
> work.  The problem is that fs/read_write.c:rw_verify_area rejects negative
> offsets as well, even though fs/proc/base.c:mem_read handles them fine.

Who should this be reported to?  Normally I fix ptrace bugs myself, but
I can't do anything about ia64... hmm... I suppose it might manifest on
ia32 too since the kernel/user split is up at 4G.  I wonder if I can
coax GDB to try to read the stack using pread.

Anyway, I don't really have time to fix it.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]