Article View: comp.unix.programmer
Article #3639How do I set a gdb breakpoint in a dlopened module (before it's been loaded?)
From: jerryasher
Date: Wed, 22 Mar 2000 00:00
Date: Wed, 22 Mar 2000 00:00
16 lines
1000 bytes
1000 bytes
A program loads a module with dlopen, and then branches to a function within it. I would like to set a breakpoint in that function from within my .gdbinit. How do I do that? Thanks, Jerry Sent via Deja.com http://www.deja.com/ Before you buy.
Technical Details
Message-ID:
<8b92fd$700$1@nnrp1.deja.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1135a1,1c42ede27d76e42b,start X-Google-Attributes: gid1135a1,public X-Google-Thread: fc89c,1c42ede27d76e42b,start X-Google-Attributes: gidfc89c,public From: jerryasher@my-deja.com Subject: How do I set a gdb breakpoint in a dlopened module (before it's been loaded?) Date: 2000/03/22 Message-ID: <8b92fd$700$1@nnrp1.deja.com> X-Deja-AN: 600623500 X-Http-Proxy: 1.0 x27.deja.com:80 (Squid/1.1.22) for client 209.233.238.162 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Mar 22 00:00:53 2000 GMT X-MyDeja-Info: XMYDJUIDjerryasher Newsgroups: comp.unix.programmer,gnu.gdb X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)