[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how set breakpoint in future shared library?
From: |
Filippo Santovito |
Subject: |
how set breakpoint in future shared library? |
Date: |
Sat, 30 Oct 2004 11:26:09 +0200 |
User-agent: |
KMail/1.6.2 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
HI!
I need to set a breakpoint in a lib my program will call with dlopen().
With gdb i have no problem in setting breaks:
$ gdb progetti/framework/openbuilder/bin/openbuilder -nx -quiet
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) break createObject
Function "createObject" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (createObject) pending.
(gdb)
instead using ddd i can't do the task:
//lines from gdb console
GNU DDD 3.3.10 (i686-pc-linux-gnu), by Dorothea Lütkehaus and Andreas Zeller.
Copyright © 1995-1999 Technische Universität Braunschweig, Germany.
Copyright © 1999-2001 Universität Passau, Germany.
Copyright © 2001 Universität des Saarlandes, Germany.
Copyright © 2001-2004 Free Software Foundation, Inc.
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) break createObject
Function "createObject" not defined.
(gdb)
how can i accomplish my task also with ddd?
Thank you in advance!
- --
Filippo Santovito
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBg140G8mQDRi5yZYRArtpAJ0bCmHEUHlnQYQNp3N8ZxOi4z+BJgCeOPUd
2aDDAPt/ZRV3ihHkw213CIc=
=TDe0
-----END PGP SIGNATURE-----
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Trova e confronta il cellulare più adatto a te! Clicca qui
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid(36&d0-10
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- how set breakpoint in future shared library?,
Filippo Santovito <=