[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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


Reply to: