This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: patch for glibc-2.0.7


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]