From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24943 invoked by alias); 8 Jul 2013 08:47:39 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 24908 invoked by uid 89); 8 Jul 2013 08:47:39 -0000 X-Spam-SWARE-Status: No, score=-6.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,TW_XF autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 08 Jul 2013 08:47:38 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r688lYAH005831 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 8 Jul 2013 04:47:35 -0400 Received: from host2.jankratochvil.net (ovpn-116-23.ams2.redhat.com [10.36.116.23]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r688lNCC003422 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 8 Jul 2013 04:47:29 -0400 Date: Mon, 08 Jul 2013 08:47:00 -0000 From: Jan Kratochvil To: vijay nag Cc: gdb@sourceware.org Subject: Re: Fwd: vdso Message-ID: <20130708084723.GA25829@host2.jankratochvil.net> References: <20130703090259.GA1854@host2.jankratochvil.net> <20130703144857.GA27367@host2.jankratochvil.net> <20130704061052.GA19661@host2.jankratochvil.net> <20130705184238.GA661@host2.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2013-07/txt/msg00035.txt.bz2 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