This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: patch for glibc-2.0.7
- To: Roland McGrath <roland@frob.com>
- Subject: Re: patch for glibc-2.0.7
- From: Cristian Gafton <gafton@redhat.com>
- Date: Mon, 13 Jul 1998 18:03:29 -0400 (EDT)
- cc: Ulrich Drepper <drepper@cygnus.com>, libc-hacker@cygnus.com
On Mon, 13 Jul 1998, Roland McGrath wrote:
> You most certainly can debug ld.so with gdb. If you can get the problem by
> running the program from ld.so (i.e. "ld.so prog args"), then gdb on that
> should work fine I think. Otherwise use add-symbol-file (you have to
> calculate the run-time address of .text--not the loadbase!--and give that
> in the command).
This is what I am saying that is kind of a pain. I did not say that is not
possible.
And for setuid binaries, ld.so prog args is certainly not working the same
way as running the program dircetly from the command prompt.
Cristian
--
----------------------------------------------------------------------
Cristian Gafton -- gafton@redhat.com -- Red Hat Software, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
UNIX is user friendly. It's just selective about who its friends are.