From: Kjeld DOT F DOT Christensen AT dxd DOT ericsson DOT se Subject: Re: Parsing *.EXE.core files 10 Jun 1998 23:00:39 -0700 Message-ID: References: <357d5977 DOT 136376970 AT smtp DOT goodnet DOT com> Mime-Version: 1.0 Content-Type: text/plain; name="Re:"; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: gnu-win32 AT cygnus DOT com I use the following script: #!/bin/sh if [ "$1" = "" ] ; then echo usage gdbcore corefile exit 0 fi program=`head -1 $1 | awk '{print $1}' | tr '(\\\\' ' /' ` if [ -f $program ] ; then awk '/pc =/{ printf ( "info line *%s\n",$10 ) }' $1 > gdbinit gdb $program -x gdbinit else echo $program not found exit 2 fi - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".