* Debugging promgram without debugging info
@ 2002-08-22 17:36 Rosen Georgiev
2002-08-22 19:29 ` Jim Blandy
2002-08-24 10:28 ` Christopher Faylor
0 siblings, 2 replies; 4+ messages in thread
From: Rosen Georgiev @ 2002-08-22 17:36 UTC (permalink / raw)
To: gdb
Hi.
I'm still try to debug a DLL.
I think the only problem left unsolved is how to
make the program (without debugging info) that loads
the DLL to stop at some time after loading it. The
"catch load" isn't implemented and it's the only way i
can think of.
Would somebody who has tryed doing something like this
or knows how to do it help me.
Tanks & bye
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Debugging promgram without debugging info
2002-08-22 17:36 Debugging promgram without debugging info Rosen Georgiev
@ 2002-08-22 19:29 ` Jim Blandy
2002-08-24 10:28 ` Christopher Faylor
1 sibling, 0 replies; 4+ messages in thread
From: Jim Blandy @ 2002-08-22 19:29 UTC (permalink / raw)
To: Rosen Georgiev; +Cc: gdb
Rosen Georgiev <rosg_mail@yahoo.com> writes:
> Hi.
>
> I'm still try to debug a DLL.
>
> I think the only problem left unsolved is how to
> make the program (without debugging info) that loads
> the DLL to stop at some time after loading it. The
> "catch load" isn't implemented and it's the only way i
> can think of.
>
> Would somebody who has tryed doing something like this
> or knows how to do it help me.
On Linux, GDB sets a breakpoint in the dynamic linker. The dynamic
linker has a special function set aside for just this purpose. I
don't know if Windows has anything like that.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Debugging promgram without debugging info
2002-08-22 17:36 Debugging promgram without debugging info Rosen Georgiev
2002-08-22 19:29 ` Jim Blandy
@ 2002-08-24 10:28 ` Christopher Faylor
1 sibling, 0 replies; 4+ messages in thread
From: Christopher Faylor @ 2002-08-24 10:28 UTC (permalink / raw)
To: gdb
[NOTE: Reply-To set to gdb@sources.redhat.com]
On Thu, Aug 22, 2002 at 05:36:20PM -0700, Rosen Georgiev wrote:
>I think the only problem left unsolved is how to make the program
>(without debugging info) that loads the DLL to stop at some time after
>loading it. The "catch load" isn't implemented and it's the only way i
>can think of.
It should be easy enough to implement on Windows. Take a look at
win32-nat.c. handle_load_dll. Adding something there should be
feasible.
cgf
^ permalink raw reply [flat|nested] 4+ messages in thread
* Debugging promgram without debugging info
@ 2002-08-22 17:36 Rosen Georgiev
0 siblings, 0 replies; 4+ messages in thread
From: Rosen Georgiev @ 2002-08-22 17:36 UTC (permalink / raw)
To: gdb
Hi.
I'm still try to debug a DLL.
I think the only problem left unsolved is how to
make the program (without debugging info) that loads
the DLL to stop at some time after loading it. The
"catch load" isn't implemented and it's the only way i
can think of.
Would somebody who has tryed doing something like this
or knows how to do it help me.
Tanks & bye
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-08-24 17:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-22 17:36 Debugging promgram without debugging info Rosen Georgiev
2002-08-22 19:29 ` Jim Blandy
2002-08-24 10:28 ` Christopher Faylor
-- strict thread matches above, loose matches on Subject: below --
2002-08-22 17:36 Rosen Georgiev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox