summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/how-to-debug-cygwin.txt
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-07-13 21:15:10 +0000
committerChristopher Faylor <me@cgf.cx>2002-07-13 21:15:10 +0000
commit613219252e51cdf3ecfd995f03e2d4fc7f480791 (patch)
tree9c39baf6e25dc76c6d57e5e3921cf31693b8b8f1 /winsup/cygwin/how-to-debug-cygwin.txt
parent6cb6ef73152475df27298f4189d6a7e512491d81 (diff)
downloadcygnal-613219252e51cdf3ecfd995f03e2d4fc7f480791.tar.gz
cygnal-613219252e51cdf3ecfd995f03e2d4fc7f480791.tar.bz2
cygnal-613219252e51cdf3ecfd995f03e2d4fc7f480791.zip
add initial information
Diffstat (limited to 'winsup/cygwin/how-to-debug-cygwin.txt')
-rw-r--r--winsup/cygwin/how-to-debug-cygwin.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/how-to-debug-cygwin.txt b/winsup/cygwin/how-to-debug-cygwin.txt
index 2549565bf..cf10bafe7 100644
--- a/winsup/cygwin/how-to-debug-cygwin.txt
+++ b/winsup/cygwin/how-to-debug-cygwin.txt
@@ -87,7 +87,9 @@ set CYGWIN_DEBUG=cat.exe=gdb.exe
This will force gdb.exe to start when the program name contains the string
"cat.exe". The '=gdb.exe' isn't really needed, since it is the default.
It is just there to show how you can specify a program to run when the
- program starts.
+ program starts. You can optionally set a breakpoint on "break_here"
+ once the debugger pops up and then you can single step through the
+ initialization process.
Note that it bears repeating that both of the above options are *only*
available when configuring cygwin with --enable-debugging.