delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/18/12:45:41

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: <20020618160910.86155.qmail@web21002.mail.yahoo.com>
Date: Tue, 18 Jun 2002 09:09:10 -0700 (PDT)
From: Nicholas Wourms <nwourms AT yahoo DOT com>
Subject: Re: Rebase 1.5-1: Causes invalid page fault
To: Jason Tishler <jason AT tishler DOT net>
Cc: cygwin AT cygwin DOT com
In-Reply-To: <20020618160003.GH1568@tishler.net>
MIME-Version: 1.0

--- Jason Tishler <jason AT tishler DOT net> wrote:
> > When I step through
> > the execution, I discover that the pathname argument prints out to:
> > "C:\\Cygnus\\cygwin\\bin\\cygXpm-noX4.dll\000???\030?\003x\000?...
>                                            ^^^^
> 
> pathname is null terminated -- this is good.  Is it null terminated for
> *all* DLLs?

Jason,

I'm going to have to start printing the arguments one by one as I step
through the execution, because it crashes before it can do the next loop. 
So in effect, the other dlls aren't being processed yet.  Sorry I had a
brain fart on the null termination, you're totally right on that one... 
Unfortunately, gdb refuses to restart execution from the beginning (it
will crap out), so I have to restart gdb each time.  Anyhow, I'll see what
I can't dig up now.  I'll admit I'm no wizard at writing code, so please
bear with me if I stumble now and then :-).

Cheers,
Nicholas

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
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