From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6880 invoked by alias); 2 Jul 2007 20:39:11 -0000 Received: (qmail 6871 invoked by uid 22791); 2 Jul 2007 20:39:11 -0000 X-Spam-Check-By: sourceware.org Received: from wa-out-1112.google.com (HELO wa-out-1112.google.com) (209.85.146.183) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 02 Jul 2007 20:39:09 +0000 Received: by wa-out-1112.google.com with SMTP id l35so2382628waf for ; Mon, 02 Jul 2007 13:39:06 -0700 (PDT) Received: by 10.114.108.15 with SMTP id g15mr5460336wac.1183408745959; Mon, 02 Jul 2007 13:39:05 -0700 (PDT) Received: by 10.114.160.4 with HTTP; Mon, 2 Jul 2007 13:39:05 -0700 (PDT) Message-ID: Date: Mon, 02 Jul 2007 20:39:00 -0000 From: "Srinivas Murthy" To: gdb@sourceware.org Subject: Re: x86_64 gdb and objdump In-Reply-To: <20070702192317.GA6395@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070702192317.GA6395@caradoc.them.org> X-Google-Sender-Auth: 4484c8bd309642ff 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 X-SW-Source: 2007-07/txt/msg00022.txt.bz2 I did try "x ..." at a bunch of memory locations and it outputs the same error msg. It seems like its not able to access any memory location in the core file. Thanks. On 7/2/07, Daniel Jacobowitz wrote: > On Mon, Jul 02, 2007 at 12:14:43PM -0700, Srinivas Murthy wrote: > > #0 0x00000000004004f5 in bar () at test.c:10 > > 10 test.c: No such file or directory. > > in test.c > > (gdb) bt > > #0 0x00000000004004f5 in bar () at test.c:10 > > Cannot access memory at address 0x7fbfffee98 > > Does x/x 0x7fbfffee98 work? > > > However, objdump shows that there is some valid content at the location: > > > > # objdump -D /tmp/core.test.30235 |less |grep 7fbfffee98 > > 7fbfffe95f: 00 08 add %cl,(%rax) > > That's not the same address... > > -- > Daniel Jacobowitz > CodeSourcery >