This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Fwd: vdso
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: vijay nag <vijunag at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Fri, 5 Jul 2013 20:42:38 +0200
- Subject: Re: Fwd: vdso
- References: <20130703084207 dot GA598 at host2 dot jankratochvil dot net> <CAKhyrx9xNG6xEtVf51ig-dC93=C9vrzgi98RzjA4QLyfuE+hkw at mail dot gmail dot com> <20130703090259 dot GA1854 at host2 dot jankratochvil dot net> <CAKhyrx8nSOR4Sq2K3XbyVytUnQMyn42Xpbo1aX0=Df4r5Pebtw at mail dot gmail dot com> <CAKhyrx_9fSc5wMaXaX76bFOPJbuVFttDNJ-YDa28wz5obJHQyQ at mail dot gmail dot com> <20130703144857 dot GA27367 at host2 dot jankratochvil dot net> <CAKhyrx8GCE7bYeZe9gnNT_aZN74oM--kd_oZr1+cjqt67oOzVQ at mail dot gmail dot com> <20130704061052 dot GA19661 at host2 dot jankratochvil dot net> <CAKhyrx8pAR9aKC1=-_HnwJ=ssb4B7LGUYM6CRqxY68xx+duprA at mail dot gmail dot com> <CAKhyrx_aX76L70XGWes+M2qsMu+=6E2UhO160YWCkxgGsL5XKA at mail dot gmail dot com>
On Fri, 05 Jul 2013 08:12:29 +0200, vijay nag wrote:
> The function linux_proc_xfer_partial() is returning result zero when
> trying to pread64 /proc/<pid>/mem and errno is set to -EIO.
And what is 'offset' (and 'len') that time and what is in /proc/PID/maps that
time?
Isn't there also some incorrect signed extension of 32-bit address to 64-bit
address, for example?
> Does that mean kernel doesn't support pread64 on /proc/xxx/mem files ?
I do not think so.
Jan