dlopen()/dlsym()/etc sources ?

2003-01-12 Thread Aurelien Nephtali
Hi, I would like to know where are the dlopen()/dlsym()/etc sources ? There's nothing in the libc sources :/ (I'm using the HEAD tree) -- Aurelien msg39153/pgp0.pgp Description: PGP signature

Re: Accessing trap frame from userland?

2002-12-23 Thread Aurelien Nephtali
On Sun, Dec 22, 2002 at 09:51:59PM -0500, John wrote: > After the interupt (from the child issuing a PT_TRACE_ME > ptrace() call, you need to call i386_clr_watch(). > > At this point, you can single step the process using > ptrace(PT_STEP), or by calling i386_set_watch() with > a new address (type

Accessing trap frame from userland?

2002-12-22 Thread Aurelien Nephtali
Hi, I'm making a little debugger using ptrace(). The soft is trivial, it just fork() and runs the traced process via execve(). To break into the traced process, I use i386_set_watch()+ptrace() and choosed to break on execution. But it's here that I'm stucked: it breaks forever on the same instruct