Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   GDB and ld.so? (http://www.linux-archive.org/debian-user/451771-gdb-ld-so.html)

"Oliver Schneider" 11-12-2010 05:35 PM

GDB and ld.so?
 
Hi folks,

does anyone here know the magic incantation required to get GDB to accept a breakpoint within the loader (ld.so), in particular on dl_main(), on a x86_64 system?

(gdb) set environment LD_PRELOAD /path/to/debug/ld.so
(gdb) b dl_main
(gdb) run ...

does not seem to do the job.


Thanks in advance,

// Oliver


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20101112183543.13600@gmx.net">http://lists.debian.org/20101112183543.13600@gmx.net


All times are GMT. The time now is 04:39 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.