delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/26/13:55:52

Date: Fri, 26 Sep 1997 13:53:36 +0000 ( )
From: "Gurunandan R. Bhat" <grbhat AT unigoa DOT ernet DOT in>
To: Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>
Cc: djgpp AT delorie DOT com
Subject: Re: Segments vs Selectors
In-Reply-To: <342BD736.E0E1A61E@LSTM.Ruhr-UNI-Bochum.De>
Message-Id: <Pine.LNX.3.91.970926134613.435A-100000@aditya.unigoa.ernet.in>
Mime-Version: 1.0


On Fri, 26 Sep 1997, Thomas Demmer wrote:

> Gurunandan R. Bhat wrote:
> [...] lots deleted because otherwise refused to post ... 
> Try
> char x;
> int main()
> ...
> 
> You have x on the stack, not in the data segment, so that might be the 
> problem. 

Hi, Tom,

Thank you for your suggestion. But I wonder if that 
would be the cause. DJGPP programs get a 256K stack. 
The mismatch in my segment limit is exactly 64K. Also
I am not sure to what extent this would solve the scond
problem which is that __dpmi_get_segment_limit() and 
the call frame traceback do not agree on the segment
limit. In any case I will try that as soon as I get home.

Thanks,
Gurunandan

- Raw text -


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