This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: note about how-to-debug-cygwin.txt

On Sun, May 28, 2006 at 10:59:35PM +0200, Ralf Habacker wrote:
>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
>    (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

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.


Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]