From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2957 invoked by alias); 10 Jun 2005 21:17:30 -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 2946 invoked by uid 22791); 10 Jun 2005 21:17:25 -0000 Received: from ext-nj2gw-2.online-age.net (HELO ext-nj2gw-2.online-age.net) (216.35.73.164) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 10 Jun 2005 21:17:25 +0000 Received: from int-nj2gw-4.online-age.net (int-nj2gw-4 [3.159.236.68]) by ext-nj2gw-2.online-age.net (8.12.9/8.12.9/990426-RLH) with ESMTP id j5ALG2Le001461; Fri, 10 Jun 2005 17:16:06 -0400 (EDT) Received: from uswaumsxb4medge.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 j5ALG0ZK026508; Fri, 10 Jun 2005 17:16:01 -0400 (EDT) Received: from USWAUMSXBHMEDGE.am.med.ge.com (uswaumsxbhmedge.med.ge.com [3.57.24.134]) by uswaumsxb4medge.am.med.ge.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id MRM1CMSF; Fri, 10 Jun 2005 16:16:00 -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 L6R9DPY6; Fri, 10 Jun 2005 16:16:00 -0500 Received: from morpheus (morpheus [3.70.204.20]) by gsao.gso.med.ge.com (8.12.10+Sun/8.12.10) with ESMTP id j5ALGnmk011611; Fri, 10 Jun 2005 16:16:49 -0500 (CDT) Received: from morpheus (localhost [127.0.0.1]) by morpheus (SGI-8.9.3/8.9.3) with ESMTP id QAA91634; Fri, 10 Jun 2005 16:15:59 -0500 (CDT) Message-Id: <200506102115.QAA91634@morpheus> To: Daniel Jacobowitz cc: Rich Coe , "H. J. Lu" , gdb@sources.redhat.com Reply-To: richard.coe@med.ge.com From: richard.coe@med.ge.com Subject: Re: no stack trace with 2.6.11 and gdb 6.3 In-reply-to: Your message of "Fri, 10 Jun 2005 15:37:21 EDT." <20050610193720.GA24094@nevyn.them.org> Date: Fri, 10 Jun 2005 21:17:00 -0000 X-SW-Source: 2005-06/txt/msg00100.txt.bz2 Daniel Jacobowitz writes: In a message dated: Fri, 10 Jun 2005 15:37:21 EDT > On Fri, Jun 10, 2005 at 02:20:58PM -0500, Rich Coe wrote: > > Yes, after I manually run > > 'add-symbol-file-from-memory 0xffffe000' > > I can get a valid traceback. > > > > Why doesn't this just work like gdb-6.0 on 2.6.7 ? > > Your GDB 6.0 was also patched by Red Hat; again, you would have to ask > them. In this regard, you are shallow. I think every developer has a certain expectation that when they type backtrace, that the debugger accurately display the data. I was merely referencing a previously release where it works, and now it doesn't. There is an obvious difference that this is not working. I'm all for working towards a solution and I don't think you taking pot shots at Redhat is working toward that end. If you have a beef with Redhat, I could care less. If you are saying or implying that this is broken only in a Redhat kernel, then please be less obtuse, because I'll gladly track this problem down wherever it may lead. > > > Why does this command run automatically when debugging with gdb from the > > command line but when attaching to an already running process ? > > Because it's different code that detects the new program. So it seems that you are well aware of this problem. Are you recommending that the add-symbol-file-from-memory as the current solution ? I've downloaded the current cvs and faced the same problem. So it seems that a half-solution to this problem which was discovered and fixed in February, is not even in the current CVS. If need me to enter it into bugzilla, I'm happy to do that. Just let me know where. I researched this problem before posting my findings here. I'm just looking for developing the correct solution. Thanks. > > -- > Daniel Jacobowitz > CodeSourcery, LLC -- Rich Coe richard.coe@med.ge.com General Electric Medical Systems