delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/12/06/13:37:45

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,MSGID_FROM_MTA_HEADER,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
X-EIP: [AINpcdCpyK6aDvjjl2HLSFA8hMOc6w1B]
Message-ID: <BLU0-SMTP86D7758CC7E7DAA0A4D5B0CE450@phx.gbl>
Date: Thu, 6 Dec 2012 18:37:29 +0100
From: Aaron Schneider <notstop2 AT users DOT sourceforge DOT net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: pv-1.3.9-1
References: <BLU0-SMTP2788E9F75C0D3D53EE3FA1CE470 AT phx DOT gbl> <87txrzzyr8 DOT fsf AT alumni DOT princeton DOT edu> <BLU0-SMTP175ADC4EB48DFE048E9F69BCE450 AT phx DOT gbl> <20121206121230 DOT GA29046 AT calimero DOT vinschen DOT de>
In-Reply-To: <20121206121230.GA29046@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 06/12/2012 13:12, Corinna Vinschen wrote:
>
> You know, you could actually grab GDB and debug the application without
> the requirement to dive into Cygwin.  Debugging the application is the
> same thing on every OS.
>

This are the errors I get with a simple debugging:

(gdb) target exec pv
(gdb) run
Starting program: /usr/bin/pv
[New Thread 1508.0x6bc]
[New Thread 1508.0x5e0]

Program received signal SIGSYS, Bad system call.
0x00000000 in ?? ()
(gdb)

$ gdb pv.exe.dbg
GNU gdb (GDB) 7.5.50.20120815-cvs (cygwin-special)
Copyright [...]
Reading symbols from /usr/bin/pv.exe.dbg...done.
(gdb) list
22      /usr/src/debug/pv-1.3.9-1/src/main/main.c: No such file or 
directory.
(gdb) file
No executable file now.
Discard symbol table from `/usr/bin/pv.exe.dbg'? (y or n) n
Not confirmed.
(gdb) run
Starting program:
No executable specified, use `target exec'.
(gdb) target exec pv.exe.dbg
(gdb) run
Starting program: /usr/bin/pv.exe.dbg
[New Thread 2736.0xb18]

Program received signal SIGSEGV, Segmentation fault.
mainCRTStartup () at /usr/src/debug/cygwin-1.7.17-1/winsup/cygwin/crt0.c:23
23      /usr/src/debug/cygwin-1.7.17-1/winsup/cygwin/crt0.c: No such 
file or directory.
(gdb)

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

- Raw text -


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