Mail Archives: djgpp/1996/12/01/02:46:08
On Fri, 29 Nov 1996, A.Appleyard wrote:
> In v1 I had to put this in \autoexec.bat to tell djgpp to put the hex dump
> onto file T$GCCDBG so that I can call symify on it if the program run crashed.
>
> set GO32=ansi driver d:/djgpp/contrib/libgrx/drivers/cirrus54.grn 2r1 noglob
> core t$gccdbg
>
> What do I put in v2?
You can't, there's no such functionality in v2. Your alternatives are:
1) Run your program under another program which catches output.
One such program is `redir' (from DJGPP); another is SCRIPT (from SimTel,
see the FAQ).
2) Hack the sources of the functions that prints the stack dump
(in djlsr201.zip, on src/libc/go32/dpmiexcp.c) to write the info to a
disk file. You should be warned though that this might sometimes fail,
if your program is so screwed up that it cannot use file I/O functions
(such as `open').
- Raw text -