delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/10/22/22:19:10

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Mon, 22 Oct 2001 22:17:18 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Subject: Re: 1.3.4 status?
Message-ID: <20011022221718.A20427@redhat.com>
Reply-To: cygwin-developers AT cygwin DOT com
Mail-Followup-To: cygwin-developers AT cygwin DOT com
References: <20011022203747 DOT 5162 DOT qmail AT lizard DOT curl DOT com> <02a201c15b5b$7910a4d0$0200a8c0 AT lifelesswks> <20011022204740 DOT B18754 AT redhat DOT com> <20011023005236 DOT 7136 DOT qmail AT lizard DOT curl DOT com> <20011022205828 DOT C18754 AT redhat DOT com> <02ea01c15b5f$7e673bc0$0200a8c0 AT lifelesswks> <20011022212759 DOT A19493 AT redhat DOT com> <032701c15b64$ea5523b0$0200a8c0 AT lifelesswks> <20011022215102 DOT A20341 AT redhat DOT com> <033101c15b66$24fc2260$0200a8c0 AT lifelesswks>
Mime-Version: 1.0
In-Reply-To: <033101c15b66$24fc2260$0200a8c0@lifelesswks>
User-Agent: Mutt/1.3.21i

On Tue, Oct 23, 2001 at 11:57:59AM +1000, Robert Collins wrote:
>
>----- Original Message -----
>From: "Christopher Faylor" <cgf AT redhat DOT com>
>To: <cygwin-developers AT cygwin DOT com>
>Sent: Tuesday, October 23, 2001 11:51 AM
>Subject: Re: 1.3.4 status?
>
>
>> On Tue, Oct 23, 2001 at 11:49:11AM +1000, Robert Collins wrote:
>> >----- Original Message -----
>> >From: "Christopher Faylor" <cgf AT redhat DOT com>
>> >To: <cygwin-developers AT cygwin DOT com>
>> >Sent: Tuesday, October 23, 2001 11:27 AM
>> >Subject: Re: 1.3.4 status?
>> >
>> >
>> >> On Tue, Oct 23, 2001 at 11:10:23AM +1000, Robert Collins wrote:
>> >> >Can you mail me the disas for the fhandler_read (with the source
>line
>> >> >tags) ? I don't have time today to build a new dll, but I can have
>a
>> >> >quick squint...
>> >>
>> >> It's below.
>> >>
>> >
>> >Maybe, I'm blind, but I cannot see the alloca call you mentioned
>> >before..
>>
>> "chkstk" == "alloca"
>>
>> Sorry, I should have mentioned that.  I just figured this out last week.
>>
>> It's possible that this is actually a stack boundary check, I guess.
>>
>
>Well it's in the function prolog, so I'd expect it to be that :}.

Except that I don't really want gcc to be doing this for me.  It only shows up
in selected function, too.

Btw, it shows up as "alloca()" when you look at the code in gdb and
"chkstk()" under objdump.

>last silly question: I can't see what regparm has to do with
>fhandler_console::read. fhandler.h does have any regparm functions...

from fhandler.h:
class fhandler_console: public fhandler_termios
{
  .
  .
  .
  int __stdcall read (void *ptr, size_t len) __attribute__ ((regparm (2)));

cgf

- Raw text -


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