www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/04/06:09:55

From: G DOT DegliEsposti AT ads DOT it
To: djgpp AT delorie DOT com
Message-ID: <C1256545.003D24BE.00@vega.ads.it>
Date: Tue, 4 Nov 1997 12:11:00 +0100
Subject: Re: Tracking down where GPFs occur . How? (DJGPP+Allegro)
Mime-Version: 1.0




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


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019