delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/28/17:46:11

X-Spam-Check-By: sourceware.org
Date: Sun, 28 May 2006 17:45:04 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: note about how-to-debug-cygwin.txt
Message-ID: <20060528214504.GB3974@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <447A0F37 DOT 2080704 AT freenet DOT de>
Mime-Version: 1.0
In-Reply-To: <447A0F37.2080704@freenet.de>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019