Break on library load before main
Aleksey Midenkov
midenok@gmail.com
Mon Jun 30 11:17:00 GMT 2014
I tried to stop execution before main() with following methods:
1. break dlopen
2. catch load
3. catch syscall uselib
Nothing works! When I issue 'start', all libraries get loaded without
stop before main(). I should mention, that 'catch load' somehow works.
It stops somewhere, but very late (see attachment for output log).
I want to stop GDB before 'Loaded symbols for
/home/midenok/src/kde/kdevelop/stable/opt/lib/libkdevplatformproject.so.7'.
How could I possibly achieve that?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb.log
Type: text/x-log
Size: 25313 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb/attachments/20140630/0c390998/attachment.bin>
More information about the Gdb
mailing list