Mail Archives: djgpp/1997/11/04/06:09:55
>Hi,
>Is there any way to determine where a program is causing a GPF?
>I get all the code like General Protection Fault at eip=(whatever).
>and some other (unknown to me) stuff.
>
>Could this be used to pinpoint where in a program's source (hopefully a
.CPP/.C
>or .HPP/.H) it's happening?
You can use the -g switch for gcc to add debugging informations to your
program and then use "symify <prog>.exe" to have the information as
symbolic names of functions of your programs, filenames and line numbers.
ciao
Giacomo
- Raw text -