Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-05-07 01:09:35 +0400
committerChristopher Faylor <me@cgf.cx>2005-05-07 01:09:35 +0400
commite73f487b3c6ef525ef95478fab13cc3c2075c517 (patch)
tree4ae50bed05133e59157acfa8a4636b9e5aea925c /winsup
parent8cdcc8803a5276fd6bc86d087b1f71fb47403ee2 (diff)
fix breakpoint example
Diffstat (limited to 'winsup')
-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