Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Rich Coe <Richard.Coe@med.ge.com>
To: "H. J. Lu" <hjl@lucon.org>
Cc: gdb@sources.redhat.com
Subject: Re: no stack trace with 2.6.11 and gdb 6.3
Date: Mon, 13 Jun 2005 20:36:00 -0000	[thread overview]
Message-ID: <20050613153427.76813847@godzilla> (raw)
In-Reply-To: <20050613152646.GB11261@lucon.org>

On Mon, 13 Jun 2005 08:26:46 -0700
"H. J. Lu" <hjl@lucon.org> 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" <hjl@lucon.org> 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


  parent reply	other threads:[~2005-06-13 20:36 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-10 18:00 Rich Coe
2005-06-10 18:11 ` Daniel Jacobowitz
2005-06-10 19:02   ` Rich Coe
2005-06-10 19:05     ` H. J. Lu
2005-06-10 19:09       ` Christopher Faylor
2005-06-10 19:10       ` Daniel Jacobowitz
2005-06-10 19:23       ` Rich Coe
2005-06-10 19:37         ` Daniel Jacobowitz
2005-06-10 21:17           ` richard.coe
2005-06-11  0:51             ` Daniel Jacobowitz
2005-06-11  2:21               ` H. J. Lu
2005-06-13 15:19                 ` Rich Coe
2005-06-13 15:26                   ` H. J. Lu
2005-06-13 15:36                     ` Rich Coe
2005-06-13 20:13                       ` H. J. Lu
2005-06-13 20:16                         ` Daniel Jacobowitz
2005-06-13 20:30                           ` H. J. Lu
2005-06-13 20:33                             ` Daniel Jacobowitz
2005-06-13 20:36                     ` Rich Coe [this message]
2005-06-13 20:43                       ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050613153427.76813847@godzilla \
    --to=richard.coe@med.ge.com \
    --cc=gdb@sources.redhat.com \
    --cc=hjl@lucon.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox