This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

stop-on-solib-events and Cygwin (or MinGW)


Hi,

I've just added support to the NetBeans gdb module for breakpoints
set in shared libraries explicity dlopened (as apposed to shared libraries
linked at link time). I'm using stop-on-solib-events to do this, and it works
fine on both Solaris and Linux.


   However, if I set this property on Windows I don't get stopped after
my dlopen/dlclose calls. Is there any way (on Windows) to make this
feature work? The alternative is to provide a complete 2nd implementation
for Windows (based on stopping in dlopen, calling "finish", and comparing
info share from before and after). Since stack information isn't always
reliable on Windows, I'm concerned this method won't be very reliable.

   Are there technical reasons why stop-on-solib-events doesn't work on
Windows? Or is it just unimplemented on that platform? Would I see the
same behavior on Vista?

Thanks,
Gordon


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]