This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: PATCH/RFC: Bring lin-lwp performance back to the real world
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: Daniel Jacobowitz <drow at mvista dot com>,gdb-patches at sources dot redhat dot com
- Date: Fri, 22 Nov 2002 00:02:21 -0500
- Subject: Re: PATCH/RFC: Bring lin-lwp performance back to the real world
- References: <20021122041123.GA21389@nevyn.them.org> <3DDDB7B5.2070809@redhat.com>
BTW,
+ if (lseek (fd, addr, SEEK_SET) == -1
+ || read (fd, myaddr, len) != len)
ssize_t
pread(int d, void *buf, size_t nbytes, off_t offset)
(I only learnt about this recently)
Andrew