gdb readable core dumps?

egor duda deo@logos-m.ru
Thu Jun 28 04:47:00 GMT 2001


Hi!

Thursday, 28 June, 2001 Darius.Clynes@cec.eu.int Darius.Clynes@cec.eu.int wrote:


DCcei> Is it possible to have crashing processes produce a core dump
DCcei> which can then be read by gdb?

yes. cygwin includes special utility called dumper.exe which can be
used to create core dumps. run it with

'dumper <pid>'

and it'll create file named '.core' containing core dump of process
with pid '<pid>'. resulting dump can be inspected with gdb.

you can also make cygwin to start it automatically in case of fatal
error in application. add

'error_start=c:\path\to\dumper\utility\dumper.exe'

to your CYGWIN environment variable. 'error_start option turns on
cygwin's JIT debugging facility and allows running any program (dumper
or gdb) in case of crash in application.

in case of problems you can also search mailing list archives. they
contains several threads regarding core dump support in cygwin.

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19


--
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