* debug messages, how to turn them on?
@ 2003-01-20 9:43 Stuart Axon
2003-01-20 21:50 ` Bart Oldeman
0 siblings, 1 reply; 2+ messages in thread
From: Stuart Axon @ 2003-01-20 9:43 UTC (permalink / raw)
To: linux-msdos
I see debug messages in the code like; (in mfs.c)
Debug0((dbg_fd, "selecting drive fn=%x sda_cds=%p\n",
fn, (void *) sda_cds));
and tried
c:\> dosdbg #dMRWgnsEPSXchkpxCIdimrv
Current debug message class settings:
# interrupt ON A unknown OFF C cdrom ON
D dos OFF E EMS ON I IPC ON
M DPMI ON P pktdrv ON Q unknown OFF
R disk Reads ON S unknown ON T unknown OFF
W disk Writes ON X X support ON Z unknown OFF
a unknown OFF c config ON d disk ON
g general ON h hardware ON i port I/O ON
j unknown OFF k keyboard ON m mouse ON
n network ON p printer ON r PIC ON
s serial ON u unknown OFF v video ON
w warnings ON x XMS
ON
...and don't get any debug messages anywhere; I would expect them to be
on stderr? I tried running dosdebug and nothing comes out on that... is
there a config option I am missing?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: debug messages, how to turn them on?
2003-01-20 9:43 debug messages, how to turn them on? Stuart Axon
@ 2003-01-20 21:50 ` Bart Oldeman
0 siblings, 0 replies; 2+ messages in thread
From: Bart Oldeman @ 2003-01-20 21:50 UTC (permalink / raw)
To: Stuart Axon; +Cc: linux-msdos
On 20 Jan 2003, Stuart Axon wrote:
> I see debug messages in the code like; (in mfs.c)
>
> ...and don't get any debug messages anywhere; I would expect them to be
> on stderr? I tried running dosdebug and nothing comes out on that... is
> there a config option I am missing?
MFS is covered by the "-d" flag. The MFS code uses a non-standard syntax
though, probably because of its legacy.
In any case.
For dosemu < 1.1.4:
if you use the "dosemu" script:
* by default debug output goes to ~/dosemu/boot.log
if you don't
* by default debug output goes to /dev/null
* if you invoke dosemu using -O it goes to stderr.
For dosemu >= 1.1.4
* by default debug output goes to ~/.dosemu/boot.log
* if you invoke dosemu using -O it goes to stderr.
For all these dosemu's:
if you invoke dosemu using "-o file" then debug output goes to that file.
using:
$ dosdebug
at the linux prompt and then
log on
also gives you logging in that terminal (and you can turn on and off flags
in dosdebug too).
Bart
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-20 21:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-20 9:43 debug messages, how to turn them on? Stuart Axon
2003-01-20 21:50 ` Bart Oldeman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox