Whacky ia64: linux_proc_xfer_partial and lseek vs pread64

Daniel Jacobowitz drow@false.org
Fri Feb 10 18:14:00 GMT 2006


On Fri, Feb 10, 2006 at 07:04:51PM +0100, Andreas Schwab wrote:
> pread and lseek with SEEK_SET do not allow negative offsets.  lseek on
> /proc/$$/mem is a special exception.

Uh-oh.  Should pread have the same exception, or must we fall back to
lseek?

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list