Look better on this newsgroup and you found solution.
If you use OW 1.0 you need replace file binw\rsihelp.exp which is wrong.
Jiri
wcl386 /bt=DOS /l=dos4g /d2 helloworld.c
I have tryied to do the following things:
--------------------------
On command prompt 1:
vdmserv /trap=rsi
This shows (correctly):
Open Watcom Virtual DOS Machine Debug Server Version 1.0
Portions Copyright (c) 1988-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See http://www.openwatcom.org/ for details.
Press 'q' to exit
--------------------------
On command prompt 2:
wd /trap=vdm helloworld
(wd in %WATCOM%\binnt is in %PATH% first)
This command shows me the initial screen of Watcom debugger (with the
menu File | Run | Break | Code, etc ...) and its logo but shows
immediately a dialog box with this message (in italian):
Prompt dei comandi - vdmserv /trap=rsi
La CPU NTVDM ha incontrato un'istruzione non valida.
CS:09b0 IP:1543 OP:db 30 23 30 1f Scegliere "Chiudi" per terminare
l'applicatione.
Chiudi Ignora
So, there is an exception of invalid instruction and I must kill the
debugger.
What can I do ? Thanks in advance for any useful answer !
wpp386 -d2 -zq -bt=dos -mf hello.cpp
wlink debug all name hello sys dos4g op q fil hello.obj
But when I call the debugger, I get this exception everytime, as soon as it
loads (I don't even ask it to run):
DOS/4GW Protected Mode Run-time Version 1.97
Copyright (c) Rational Systems, Inc. 1990-1994
DOS/4GW error (2001): exception 0Dh (general protection fault) at
158:00000126
TSF32: prev_tsf32 5284
SS 178 DS 178 ES 178 FS 0 GS 0
EAX 0 EBX 20D0 ECX 221F EDX 1
ESI A00 EDI 10CF EBP 20A5 ESP 20A2
CS:IP 158:00000126 ID 0D COD 221C FLG 10202
CS= 158, USE16, byte granular, limit 695F, base 43A000, acc 9B
SS= 178, USE16, byte granular, limit FFFF, base 45C000, acc 93
DS= 178, USE16, byte granular, limit FFFF, base 45C000, acc 93
ES= 178, USE16, byte granular, limit FFFF, base 45C000, acc 93
FS= 0, USE16, byte granular, limit 0, base 14, acc 0
GS= 0, USE16, byte granular, limit 0, base 14, acc 0
CR0: PG:1 ET:1 TS:0 EM:0 MP:0 PE:1 CR2: 0 CR3: 1E067
I am running under DOS 7.10, and I have tried the following:
with and without debugging info
with and without /tr=rsi
EMM386 with "noems novcpi", without options, and without it at all
debug the normal .EXE program and also the unbound .LE
I seriously need some help on this. Anyone, please !!!
Jiri, I could not find a newer version of the rsihelp.exp file. I
tried to look online at ~/watcom/devel/1.1_beta/ext_dos4gw.zip , but
the file is identical to the one I am using in OW 1.0
Where do I get the new file?
Re,
Carlos
"Ken Belleau" <ja...@ivic.qc.ca> wrote in message news:<bej9fs$280$1...@www1.scitechsoft.com>...