[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-debug-dev] Fw: [cdt-patch] Moving shared library features from mi to CDI
|
Thanks, Mikhail,
Sounds great. I was able to get stop-on-solib-events working on Windows.
I had written a DLL for Microsoft Flight Simulator using mingw-gcc and
tried debugging it using gdb. It was still a pain, though, since a FS
loads a lot of DLLs and to figure out when yours was loaded was tough.
Having something more automated in the CDT would help a lot (except that I
have give up the FS business, for now :-).
Cheers,
Doug Schaefer, Senior Software Developer
IBM Rational Software, Ottawa, Ontario, Canada
"Mikhail Khodjaiants" <mikhailk@xxxxxxx>
Sent by: cdt-debug-dev-admin@xxxxxxxxxxx
09/01/2003 01:19 PM
Please respond to
cdt-debug-dev@xxxxxxxxxxx
To
<cdt-debug-dev@xxxxxxxxxxx>
cc
Subject
Re: [cdt-debug-dev] Fw: [cdt-patch] Moving shared library features from mi
to CDI
Hi Doug,
The reason of these changes is to provide support of deferred breakpoints
in
CDI. The problem is that gdb doesn't support catchpoints on the most of
the
platforms, so we are trying to find a workaround to emulate it. There is a
flag in gdb - 'stop-on-solib-events'. When this flag is on gdb stops every
time when a shared library related function (dlopen, dlsym, etc and
internal
functions) is called. The idea is to handle these events internally and
try
to reset breakpoints.
We have implemented it for the QNX debugger (with some restrictions) and
now
we are moving it to CDT. The QNX implementation calls some MI methods
directly and we decided to add the equivalents of these methods to CDI.
I think that the 'stop-on-solib-events' flag is not supported on Windows
but
I have to double check it. If so this feature won't have an effect on
Windows.
Mikhail
----- Original Message -----
From: "Douglas Schaefer" <dschaefe@xxxxxxxxxx>
To: <cdt-debug-dev@xxxxxxxxxxx>
Sent: Saturday, August 30, 2003 12:37 PM
Subject: [cdt-debug-dev] Fw: [cdt-patch] Moving shared library features
from
mi to CDI
> Hi Mikhail,
>
> This sounds like a pretty major architectural change, no? Are these
> features moving to the MI implementation of the CDI or into the C debug
> core. If you are talking about the core, has the impact on other
> implementations of the CDT been considered.
>
> Shared libraries on Windows proved to be a pain point of mine so I'm
glad
> to see some activity here.
>
> Thanks,
> Doug Schaefer, Senior Software Developer
> IBM Rational Software, Ottawa, Ontario, Canada
> ----- Forwarded by Douglas Schaefer/Ottawa/IBM on 08/30/2003 12:32 PM
> -----
>
> "Mikhail Khodjaiants" <mikhailk@xxxxxxx>
> Sent by: cdt-patch-admin@xxxxxxxxxxx
> 08/29/2003 05:04 PM
> Please respond to
> cdt-patch@xxxxxxxxxxx
>
>
> To
> <cdt-patch@xxxxxxxxxxx>
> cc
>
> Subject
> [cdt-patch] Moving shared library features from mi to CDI
>
>
>
>
>
>
>
_______________________________________________
cdt-debug-dev mailing list
cdt-debug-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-debug-dev