Re: Break on library load before main

Andreas Schwab <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
Aleksey Midenkov <[email protected]> writes:

> 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).

Try set stop-on-solib-events 1.

Andreas.

-- 
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.