Next: Hurd Native, Previous: DJGPP Native, Up: Native
gdb supports native debugging of MS Windows programs, including DLLs with and without symbolic debugging information. There are various additional Cygwin-specific commands, described in this section. Working with DLLs that have no debugging symbols is described in Non-debug DLL Symbols.
info w32info w32 selectorGetThreadSelectorEntry function.
It takes an optional argument that is evaluated to
a long value to give the information about this given selector.
Without argument, this command displays information
about the six segment registers.
info dllinfo shared.
dll-symbolsset cygwin-exceptions modeon, gdb will break on exceptions that
happen inside the Cygwin DLL. If mode is off,
gdb will delay recognition of exceptions, and may ignore some
exceptions which seem to be caused by internal Cygwin DLL
“bookkeeping”. This option is meant primarily for debugging the
Cygwin DLL itself; the default value is off to avoid annoying
gdb users with false SIGSEGV signals.
show cygwin-exceptionsset new-console modeon the debuggee will
be started in a new console on next start.
If mode is offi, the debuggee will
be started in the same console as the debugger.
show new-consoleset new-group modeshow new-groupset debugeventsOutputDebugString API call.
set debugexecset debugexceptionsset debugmemoryset shellshow shell