From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stas Sergeev Subject: Re: Need advise on how to proceed in debugging ... Date: Wed, 01 May 2002 22:12:38 +0400 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <3CD03016.3090008@yahoo.com> Reply-To: stas.orel@mailcity.com Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org Hello. Bryan J. Smith wrote: > 1. I'm having a bit of difficulty trying to figure out how to enable > debugging. There are a lot of debug options. You may enable the debug logging with -D9+xxx option, where xxx specifies the type of events you are going to log. So, to enable a file access logging, you'll have to specify something like "-D9+d -o /tmp/log" as a dosemu command-line arguments. Consult "man dos" for more. If you want to debug the program that is running under dosemu, you have to start "dosdebug" program that comes with dosemu. And if you want to debug dosemu itself (which is what you have to do in case it locks up), you have to recompile it with debug info and attach a gdb to it. > difference. I understand you can also "boot" a non-mounted, > "native/real" C: partition too. If so, can I run multiple instances of > DOSEmu, or am I limited to only 1 now since I'm booting a real > partition? Even if you are not strictly limited, you'll certainly have a filesystem corruption once the both instances of dosemu are going to write something simultaneously.