Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Matt Rice <ratmice@gmail.com>
Cc: "Amker.Cheng" <amker.cheng@gmail.com>, gdb@sourceware.org
Subject: Re: cross debug glibc loader problem
Date: Thu, 11 Feb 2010 22:02:00 -0000	[thread overview]
Message-ID: <20100211220238.GA3257@host0.dyn.jankratochvil.net> (raw)
In-Reply-To: <8ba6bed41002111259g745df3eq9b87986a5efcb0cb@mail.gmail.com>

On Thu, 11 Feb 2010 21:59:26 +0100, Matt Rice wrote:
> > Maybe I've missed something important when following instruction at
> > http://sources.redhat.com/glibc/wiki/Debugging/Loader_Debugging

These instructions were written before the PIE patch so they should work even
with older version GDB.  Still I do not have experience with this part.
The errors like
	"Cannot access memory at address 0x32a14"
for debugging glibc-related stuff got fixed by the PIE patch for me (x86*).


> and i'm not really aware of the current status.

The basic functionality is in FSF GDB HEAD now, maybe you can add just:
	[patch] Fix PIE for 64bit gdb -> 32bit inferior
	http://sourceware.org/ml/gdb-patches/2010-02/msg00289.html
(unaware of your MIPS setup)


Thanks,
Jan


  reply	other threads:[~2010-02-11 22:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-10 12:09 Amker.Cheng
2010-02-10 19:45 ` Matt Rice
2010-02-11  3:12   ` Amker.Cheng
2010-02-11 20:59     ` Matt Rice
2010-02-11 22:02       ` Jan Kratochvil [this message]
2010-02-21  9:48         ` Amker.Cheng

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=20100211220238.GA3257@host0.dyn.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=amker.cheng@gmail.com \
    --cc=gdb@sourceware.org \
    --cc=ratmice@gmail.com \
    /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