Fw: DUMPER.EXE - Problem getting it working!
Jon A. Lambert
jlsysinc@alltel.net
Mon Feb 24 08:12:00 GMT 2003
Sorry I forgot to attach cygcheck -s output - this post has it
----- Original Message -----
From: "Jon A. Lambert" <jlsysinc@alltel.net>
To: <cygwin@cygwin.com>
Sent: Sunday, February 23, 2003 11:18 PM
Subject: DUMPER.EXE - Problem getting it working!
> I am unable to get the dumper utility to produce a core dump.
> I have read the FAQ, the webpages and searched the mailing lists.
>
> My cygwin.bat startup file contains the following:
> set CYGWIN=error_start=c:\cygwin\bin\dumper.bat
>
> My dumper.bat file contains the following:
> dumper.exe -d %1 %2 %3
> pause
>
> The program in question was compiled with the gcc -g option:
> main() {
> int h;
> h = 1 / 0;
> }
>
> Upon execution I see the following in the cygwin console:
> $ ./div.exe
> 7 [main] div 2296 handle_exceptions: Error while dumping state (probably corrupted stack)
> Arithmetic exception (core dumped)
>
> In the cmd.exe console window that dumper.bat starts I see the following:
> C:\cygwin\home\jlambert>dumper.exe -d C:/cygwin/home/jlambert/div.exe 1884
> dumping process #1884 to div.exe.core
> setting bfd architecture: No error
>
> C:\cygwin\home\jlambert>pause
> Press any key to continue . . .
>
> Yet no .core file is produced anywhere.
> I have also tried using dumper.exe directly with the following setting with the same results.
> set CYGWIN=error_start=c:\cygwin\bin\dumper.exe
>
> And I have verified that the process number above is correct.
> What am I doing wrong?
>
> Thank you
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030224/fda4d08c/attachment.txt>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list