delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/12/16:24:07

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 12 Jul 2000 16:16:44 -0400
From: Phil Edwards <pedwards AT disaster DOT jaj DOT com>
Message-Id: <200007122016.QAA02713@disaster.jaj.com>
To: cygwin AT sources DOT redhat DOT com
Subject: Re: Found a bug in hello world

> > always be -1.  And I can't get gdb to admit that "errno" exists under Cygwin
> > (it tells me "no such symbol"), so I have no idea what's wrong there.  
>
> Try
>
> #include <errno.h> 

Oh, it's already there, I checked before mailing.  (I am not a maintainer
of GNU Hello; it just exists as a useful testbed.)

Robert Praetorius reminded me that errno under Cygwin (and a lot of
other platforms, so I should have thought of this *selfLART*) is a macro
and gdb doesn't know about macros.

So some bug somewhere still exists (prolly old code in GNU Hello), but
that at least explains why I can't debug it.


Phil


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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