www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/05/19/06:34:58

Date: Sun, 19 May 2002 12:14:27 +0100
From: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: The Bat! (v1.60h) UNREG / CD5BF9353B3B7091
X-Priority: 3 (Normal)
Message-ID: <2242535597.20020519121427@softhome.net>
To: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
CC: djgpp-workers AT delorie DOT com, eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
Subject: Re[4]: emacs under w2k
In-Reply-To: <10205161727.AA12999@clio.rice.edu>
References: <10205161727 DOT AA12999 AT clio DOT rice DOT edu>
MIME-Version: 1.0
X-OriginalArrivalTime: 19 May 2002 10:13:54.0069 (UTC) FILETIME=[E136E450:01C1FF1D]
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

>> Well, I've tried. When I run resulting emacs binary, I get this error
>> box every time:
>> 
>> X#=0D, CS=01A7 IP=00001254. The NTVDM CPU has encountered an unhandled
>> exception

And when I run Emacs w/o unixy sbrk bit under gdb, it looks like:

(gdb) r
Starting program: d:/devel/djgpp/gnu/emacs/src/../bin/emacs.exe

Program received signal SIGSEGV, Segmentation fault.
0x00001254 in dos_alloc_ok ()

(gdb) disas 0x123a 0x1254
Dump of assembler code from 0x123a to 0x1254:
0x123a <dos_alloc_ok+209>:        je     0x12a8 <no_memory>
0x123c <dos_alloc_ok+211>:        mov    %eax,0x206510
0x1241 <dos_alloc_ok+216>:        mov    %eax,%edi
0x1243 <dos_alloc_ok+218>:        mov    %fs:0x10,%ecx
0x124a <dos_alloc_ok+225>:        shr    $0x2,%ecx
0x124d <dos_alloc_ok+228>:        xor    %esi,%esi
0x124f <dos_alloc_ok+230>:        push   %ds
0x1250 <dos_alloc_ok+231>:        push   %fs
0x1252 <dos_alloc_ok+233>:        pop    %ds
0x1253 <dos_alloc_ok+234>:        cld
End of assembler dump.

I am unable to set breakpoint in dos_alloc_ok, no matter if I try by
function or by address. What's wrong here?

Laurynas


- Raw text -


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