delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2012/11/18/16:24:15

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Date: Sun, 18 Nov 2012 23:23:15 +0200
From: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: Difficulties using DJGPP 2.04 together with DOSLFN 0.41 on MSDOS 6.22
In-reply-to: <50A947A5.7050207@gmx.de>
X-012-Sender: halo1 AT inter DOT net DOT il
To: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
Cc: djgpp AT delorie DOT com
Message-id: <838v9yzjuk.fsf@gnu.org>
References: <50A9225B DOT 5010107 AT gmx DOT de> <83mwyezsb0 DOT fsf AT gnu DOT org> <50A947A5 DOT 7050207 AT gmx DOT de>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Sun, 18 Nov 2012 21:40:05 +0100
> From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
> CC: djgpp AT delorie DOT com
> 
> >    . what happens if you set a breakpoint not at entry to
> >      __crt1_startup, but on the line that calls 'setup_environment'?
> >      You can still see how djgpp.env is parsed, but all the critical
> >      setup should be already done, so maybe you won't crash NTVDM.
> It crashes always no matter what I do.
> If I set the breakpoint at  setup_environment();
> and quit then, it crashes.
> If I stop there and continue one line more and quit
> then, it crashes.
> If I set the breakpoint at exit(main(__crt0_argc, __crt0_argv, _environ));
> and quit then, it crashes.

And if you set a breakpoint inside some other function, that is called
directly or indirectly from 'main', does it crash then?  If it does,
then you are actually saying that you cannot debug ld.exe, and maybe
other programs as well, without crashing NTVDM, is that right?

- Raw text -


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