delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/08/13:03:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3E9300DD.7040301@chello.at>
Date: Tue, 08 Apr 2003 19:03:25 +0200
From: Johann Petrak <johann DOT petrak AT chello DOT at>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a; MultiZilla v1.3.1.2) Gecko/20030401
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: DEBUGGING PERL available
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0304081242430 DOT 21921-100000 AT slinky DOT cs DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.44.0304081242430.21921-100000@slinky.cs.nyu.edu>

Igor Pechtchanski wrote:
> Johann,
> 
> You can also set it in cygwin.bat, right before invoking bash.
> As for the embedded "=", you should be able to use ":" instead, i.e.,
> "set CYGWIN=error_start:c:\cygwin\bin\gdb".
> 	Igor
> 

I am awfully sorry if I still do not get it,
but this does not seem to work - the debugger
does not kick in.
(the variable is inherited correctly in the bash from cygwin.bat)

I have tried a different approach - I tried to attach the debugger
to the running perl process - after the Windows-error dialog is
closed, i do a bt. This is what I get:

#0  0xbff768a1 in KERNEL32!CallNamedPipeW ()
#1  0xbff7a280 in KERNEL32!Heap32ListNext ()
#2  0xbff7c768 in RegisterServiceProcess ()
#3  0xbff7c7c2 in RegisterServiceProcess ()
#4  0x61078487 in siginterrupt () from /usr/bin/cygwin1.dll
#5  0x61038a80 in fnmatch () from /usr/bin/cygwin1.dll
#6  0x61039e93 in fnmatch () from /usr/bin/cygwin1.dll
#7  0x6103a4cd in fork () from /usr/bin/cygwin1.dll
#8  0x10060275 in Perl_my_popen (my_perl=0x102503e8, cmd=0x102668a8 
"uname", mod
e=0x100a9060 "r") at util.c:2098
#9  0x100a919f in Perl_pp_backtick (my_perl=0x102503e8) at pp_sys.c:310
#10 0x1005c0fe in Perl_runops_debug (my_perl=0x102503e8) at dump.c:1398
#11 0x1000478b in S_run_body (my_perl=0x102503e8, oldscope=1) at perl.c:1681
#12 0x100043c5 in perl_run (my_perl=0x102503e8) at perl.c:1600
#13 0x0040113d in main (argc=2, argv=0x615f1e60, env=0x10250328) at 
perlmain.c:8

Hope this helps.

Johann


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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