gdb.info: Cygwin Native

Go backward to DJGPP Native
Go up to Native
Go to the top op gdb

Features for Debugging MS Windows PE executables

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 subsection.  The
subsubsection *note Non-debug DLL symbols:: describes working with DLLs
that have no debugging symbols.
`info w32'
     This is a prefix of MS Windows specific commands which print
     information about the target system and important OS structures.
`info w32 selector'
     This command displays information returned by the Win32 API
     `GetThreadSelectorEntry' 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 the six segment registers.
`info dll'
     This is a Cygwin specific alias of info shared.
`dll-symbols'
     This command loads symbols from a dll similarly to add-sym command
     but without the need to specify a base address.
`set new-console MODE'
     If MODE is `on' the debuggee will be started in a new console on
     next start.  If MODE is `off'i, the debuggee will be started in
     the same console as the debugger.
`show new-console'
     Displays whether a new console is used when the debuggee is
     started.
`set new-group MODE'
     This boolean value controls whether the debuggee should start a
     new group or stay in the same group as the debugger.  This affects
     the way the Windows OS handles Ctrl-C.
`show new-group'
     Displays current value of new-group boolean.
`set debugevents'
     This boolean value adds debug output concerning events seen by the
     debugger.
`set debugexec'
     This boolean value adds debug output concerning execute events
     seen by the debugger.
`set debugexceptions'
     This boolean value adds debug ouptut concerning exception events
     seen by the debugger.
`set debugmemory'
     This boolean value adds debug ouptut concerning memory events seen
     by the debugger.
`set shell'
     This boolean values specifies whether the debuggee is called via a
     shell or directly (default value is on).
`show shell'
     Displays if the debuggee will be started with a shell.