This is the mail archive of the libc-alpha@sources.redhat.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]
Other format: [Raw text]

Re: debugging in-build-tree glibc


On Sat, Apr 09, 2005 at 04:49:04PM -0700, David S. Miller wrote:
> 
> I know information on how people do this effectively must
> exist somewhere, but I'm having a hard time finding it.
> 
> Currently I just run /path/to/build-$(PLATFORM)/elf/ld-linux.so.2
> directly under GDB and replicate the --library-path, executable
> path, et al. arguments that the build itself uses.

I usually just relink the testcase in question with additional
-Wl,-rpath,.:nptl:....whateverelse,-dynamic-linker,elf/ld.so
then GDB works just fine on it.

	Jakub


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