summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/how-to-debug-cygwin.txt
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-05-06 21:09:35 +0000
committerChristopher Faylor <me@cgf.cx>2005-05-06 21:09:35 +0000
commite73f487b3c6ef525ef95478fab13cc3c2075c517 (patch)
tree4ae50bed05133e59157acfa8a4636b9e5aea925c /winsup/cygwin/how-to-debug-cygwin.txt
parent8cdcc8803a5276fd6bc86d087b1f71fb47403ee2 (diff)
downloadcygnal-e73f487b3c6ef525ef95478fab13cc3c2075c517.tar.gz
cygnal-e73f487b3c6ef525ef95478fab13cc3c2075c517.tar.bz2
cygnal-e73f487b3c6ef525ef95478fab13cc3c2075c517.zip
fix breakpoint example
Diffstat (limited to 'winsup/cygwin/how-to-debug-cygwin.txt')
-rw-r--r--winsup/cygwin/how-to-debug-cygwin.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/how-to-debug-cygwin.txt b/winsup/cygwin/how-to-debug-cygwin.txt
index bf7c7a6fb..a4de0209f 100644
--- a/winsup/cygwin/how-to-debug-cygwin.txt
+++ b/winsup/cygwin/how-to-debug-cygwin.txt
@@ -1,4 +1,4 @@
-Copyright 2001, 2002 Red Hat Inc., Egor Duda
+Copyright 2001, 2002, 2005 Red Hat Inc., Egor Duda
So, your favorite program has crashed? And did you say something about
'stackdump'? Or it just prints its output from left to right and
@@ -116,7 +116,7 @@ set CYGWIN_DEBUG=cat.exe:gdb.exe
bash$ gdb -nw yourapp.exe
(gdb) dll cygwin1
(gdb) l dll_crt0_1
- (gdb) bp <<first line in the function>>
+ (gdb) b <<first line in the function>>
(gdb) run
(gdb) set strace.active=1
(gdb) continue