Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "H . J . Lu" <hjl@lucon.org>
To: GDB <gdb@sourceware.cygnus.com>
Subject: Problem with debugging ld.so
Date: Tue, 02 Oct 2001 12:30:00 -0000	[thread overview]
Message-ID: <20011002123039.A3457@lucon.org> (raw)

Under Linux,

# gdb /lib/ld-linux.so.2
...
(gdb) b dl_main
Breakpoint 1 at 0x2567: file rtld.c, line 397.
(gdb) r
Starting program: /lib/ld-linux.so.2 
Breakpoint 1 at 0x80002567: file rtld.c, line 397.

Breakpoint 1, dl_main (phdr=0x80000034, phnum=3, user_entry=0xbffff2e8)
    at rtld.c:397
warning: Source file is more recent than executable.

397       char *file;
(gdb) 

# gdb /lib/ld-linux.so.2
...
(gdb) r
...
(gdb) b dl_main
Cannot access memory at address 0x80002550

It looks like after ld.so is run, I can no longer set breakpoints
in ld.so.


H.J.


             reply	other threads:[~2001-10-02 12:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-02 12:30 H . J . Lu [this message]
2001-10-02 13:39 ` Andrew Cagney
2001-10-02 13:41   ` H . J . Lu
2001-10-02 14:11 ` Kevin Buettner

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=20011002123039.A3457@lucon.org \
    --to=hjl@lucon.org \
    --cc=gdb@sourceware.cygnus.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