delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/08/08:01:31

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: HELP! : Debugging a c/asm mixed programs
Date: Sat, 08 Apr 2000 12:11:19 +0200
Organization: NetVision Israel
Lines: 18
Message-ID: <38EF05C7.1529F0D0@is.elta.co.il>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000404140432 DOT 9459N-100000 AT is> <8ckpmt$bln$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE>
NNTP-Posting-Host: ras1-p97.rvt.netvision.net.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 955188598 27828 62.0.172.99 (8 Apr 2000 10:09:58 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 8 Apr 2000 10:09:58 GMT
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en,ru,hebrew
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hans-Bernhard Broeker wrote:
> 
>         mov [dosmem_segment],ax
> 
> it'll try to display what currently is found at address
> [dosmen_segment]. Or something like that. I don't remember all the
> details offhand without having a system at hand to test them on...
> 
> *If* the current instruction is using a segment override prefix, which
> it doesn't understand, FSDB will look in the wrong place, and the
> offset may well be out of bounds of the datasegment it assumes. And
> bang, it crashes.

Are you saying that FSDB doesn't grok segment overrides?  I don't think
that's true.

In any case, I don't think FSDB would crash even if it does try to access a
bad address.  I'd need to see a specific test case.

- Raw text -


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