From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18573 invoked by alias); 13 Jun 2005 20:36:32 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 18542 invoked by uid 22791); 13 Jun 2005 20:36:24 -0000 Received: from ext-nj2gw-8.online-age.net (HELO ext-nj2gw-8.online-age.net) (64.14.56.44) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 13 Jun 2005 20:36:24 +0000 Received: from int-nj2gw-4.online-age.net (int-nj2gw-4 [3.159.236.68]) by ext-nj2gw-8.online-age.net (8.12.11/8.12.11/990426-RLH) with ESMTP id j5DKZxHA017812; Mon, 13 Jun 2005 16:35:59 -0400 Received: from uswaumsxb1medge.am.med.ge.com (localhost [127.0.0.1]) by int-nj2gw-4.online-age.net (8.12.9/8.12.8/990426-RLH) with ESMTP id j5DKZvcO016121; Mon, 13 Jun 2005 16:35:58 -0400 (EDT) Received: from USWAUMSXBHMEDGE.am.med.ge.com (uswaumsxbhmedge.med.ge.com [3.57.24.134]) by uswaumsxb1medge.am.med.ge.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id MSMGD2TS; Mon, 13 Jun 2005 15:35:57 -0500 Received: from gsao.gso.med.ge.com (uswaucs03.med.ge.com [3.57.24.237]) by USWAUMSXBHMEDGE.am.med.ge.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id M6DRBQF1; Mon, 13 Jun 2005 15:35:57 -0500 Received: from godzilla (IDENT:12539@godzilla [3.70.204.208]) by gsao.gso.med.ge.com (8.12.10+Sun/8.12.10) with ESMTP id j5DKakmk013002; Mon, 13 Jun 2005 15:36:46 -0500 (CDT) Date: Mon, 13 Jun 2005 20:36:00 -0000 From: Rich Coe To: "H. J. Lu" Cc: gdb@sources.redhat.com Subject: Re: no stack trace with 2.6.11 and gdb 6.3 Message-ID: <20050613153427.76813847@godzilla> In-Reply-To: <20050613152646.GB11261@lucon.org> References: <20050610193720.GA24094@nevyn.them.org> <200506102115.QAA91634@morpheus> <20050611005113.GA29491@nevyn.them.org> <20050611022148.GA14914@lucon.org> <20050613101629.4f54fde1@godzilla> <20050613152646.GB11261@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2005-06/txt/msg00122.txt.bz2 On Mon, 13 Jun 2005 08:26:46 -0700 "H. J. Lu" wrote: > On Mon, Jun 13, 2005 at 10:16:29AM -0500, Rich Coe wrote: > > On Fri, 10 Jun 2005 19:21:48 -0700 > > "H. J. Lu" wrote: > > > On Fri, Jun 10, 2005 at 08:51:13PM -0400, Daniel Jacobowitz wrote: > > > > > > > > No, I told you that I expected it to work in CVS. If it does not, then > > > > someone needs to reproduce your problem using an unpatched GDB and > > > > debug it. I do not have a Red Hat x86_64 system on which to reproduce > > > > it, but I may be able to elsewhere - if I have time. > > > > > > Gdb should support vDSO on Linux 2.6.11/x86_64 with this patch: > > > > > > http://sources.redhat.com/ml/gdb/2005-06/msg00095.html > > > > > > If it doesn't work, I will be interested to know. > > > H.J. > > > > The patch makes it work only if you start the program from the gdb > > command line. As I said in my original post: > I found out what I was not seeing on Friday. The original use case used 'gdb -p PID', and it still did not work. I've found this message from gdb though: warning: Could not load vsyscall page because no executable was specified If I invoke it gdb with 'gdb gtest PID', then the current gdb cvs version works as expected. Is /proc/PID/exe linux specific ? I need to look at the -p invocation. BTW, the cvs version is missing this patch: --- gdb/config/i386/linux64.mt.vdso 2004-11-11 16:47:07.000000000 -0800 +++ gdb/config/i386/linux64.mt 2005-02-01 13:01:46.056022932 -0800 @@ -1,5 +1,5 @@ # Target: GNU/Linux x86-64 TDEPFILES= amd64-tdep.o amd64-linux-tdep.o \ i386-tdep.o i387-tdep.o i386-linux-tdep.o glibc-tdep.o \ - solib.o solib-svr4.o corelow.o + solib.o solib-svr4.o corelow.o symfile-mem.o DEPRECATED_TM_FILE= solib.h R. -- Rich Coe richard.coe@med.ge.com General Electric Healthcare Technologies Global Software Platforms, Computer Technology Team