B20: cannot debug a program with GDB that has been linked with -ladvapi32

Kai-Uwe Rommel rommel@ars.de
Sun Mar 14 13:05:00 GMT 1999


If one compiles/links a program that uses a call from the Win32
advapi32.dll (such as GetUserName), it cannot be debugged with
gdb. When gdb attempts to debug such a program, the program crashes.

It seems a problem with at least the NT version of advapi32.dll
and not with gdb, as I have seen that too with IBM's debugger in
VisualAge C++ for NT. However, they have been able to add a
workaround for this problem in the latest version of their
debugger.

Kai Uwe Rommel

--
/* Kai Uwe Rommel                   ARS Computer & Consulting GmbH *
 * rommel@ars.de ( http://www.ars.de )             Muenchen, Germany *
 * rommel@leo.org ( http://www.leo.org/pub/comp/os/os2 maintenance) */




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list