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: Mon, 8 Jul 2013 10:47:23 +0200
- Subject: Re: Fwd: vdso
- References: <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> <20130705184238 dot GA661 at host2 dot jankratochvil dot net> <CAKhyrx9nUCTs7KyFP5QGwbbALFtXih1XGSCoxwiy9TJ+__xQxg at mail dot gmail dot com>
On Mon, 08 Jul 2013 08:50:49 +0200, vijay nag wrote:
> Breakpoint 1, linux_proc_xfer_partial (ops=0x8499230, object=TARGET_OBJECT_MEMORY, annex=0x0, readbuf=0xbffff250 "\r", writebuf=0x0, offset=4294967296, len=4294959104)
> at linux-nat.c:4386
> 4386 if (object != TARGET_OBJECT_MEMORY || !readbuf)
> (gdb) p /x offset
> $3 = 0xffffe000
> (gdb) p /x len
> $4 = 0x34
offset and len in the first line correspond to offset 0x100000000
and len 0xffffe000 resp. So I do not see the values you printed from GDB
below.
This is general debugging of GDB, it no longer belongs to this list.
You should best file it to GDB Bugzilla and try to provide reproducibility
information.
There seems to be some 32->64bit extension problem (0x100000000). Isn't the
GDB built for x86_64 target while you run it for i386 target? This sure
should work but there may be some issues. Try to build 32-bit host GDB as
troubleshooting:
CFLAGS=-m32 ./configure i386-unknown-linux-gnu
But this is already rather for the Bugzilla.
Jan