| www.delorie.com/archives/browse.cgi | search |
| Date: | Sun, 19 May 2002 21:12:41 +0100 |
| From: | Laurynas Biveinis <lauras AT softhome DOT net> |
| X-Mailer: | The Bat! (v1.60h) UNREG / CD5BF9353B3B7091 |
| X-Priority: | 3 (Normal) |
| Message-ID: | <20274828752.20020519211241@softhome.net> |
| To: | sandmann AT clio DOT rice DOT edu (Charles Sandmann) |
| CC: | eliz AT is DOT elta DOT co DOT il (Eli Zaretskii), djgpp-workers AT delorie DOT com |
| Subject: | Re: emacs under w2k |
| In-Reply-To: | <10205191837.AA20914@clio.rice.edu> |
| References: | <10205191837 DOT AA20914 AT clio DOT rice DOT edu> |
| MIME-Version: | 1.0 |
| X-OriginalArrivalTime: | 19 May 2002 19:11:59.0486 (UTC) FILETIME=[0CD291E0:01C1FF69] |
| Reply-To: | djgpp-workers AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp-workers AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
> the lcall is a fairly small (it's in sbrk16.asm) and does the following:
Is there any way I could use gdb in that code or should I use other
means to see where it fails?
> 3) resets the base of cs and ds selectors (note: ds alias's base is not
> changed until several hundred instructions later, so there is a
> short term inconsistency - which might cause problems - any exception
> at this point would probably kill ntvdm).
You mean this piece?
3:
movw $0x0007, %ax /* reset DS alias base */
movl ___djgpp_ds_alias, %ebx
movl ___djgpp_base_address, %edx
movw ___djgpp_base_address+2, %cx
int $0x31
Well, it seems like it shouldn't be too hard to move to sbrk16.asm.
But I think it is better to find out real causes for failures first.
Laurynas
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |