This is the mail archive of the gdb-patches@sources.redhat.com 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: PATCH/RFC: Bring lin-lwp performance back to the real world


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


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