Mail Archives: djgpp/2012/11/18/16:24:15
> 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 -