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?