note about how-to-debug-cygwin.txt

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Sun May 28 21:53:00 GMT 2006


On Sun, May 28, 2006 at 10:59:35PM +0200, Ralf Habacker wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>In the how-to-debug-cygwin.txt there is listed how to run application
>using strace in gdb:
>
>To debug this scenario, do something like this:
>
>    bash$ gdb -nw yourapp.exe
>    (gdb) dll cygwin1
>    (gdb) l dll_crt0_1
>    (gdb) b <<first line in the function>>
>    (gdb) run
>    (gdb) set strace.active=1
>    (gdb) continue
>
>
>According to winsup/cygwin/include/sys/strace.h the class member active
>is known now as _active.

I've changed this.

>I have tried to get this running in gdb (cvs), but there is no output in
>gdb.

Getting output from gdb was not the intent of this section.  Look at the
name of the section: "Program dies when running under strace".  If the
intent was to get output from gdb it would have been something like
"Make gdb output strace info".

I'm not aware of any way to have gdb print strace info.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list