www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/05/01/10:57:40

Date: 01 May 1993 09:59:00 -0400 (EDT)
From: JMILLER AT CHESS DOT EISC DOT UTOLEDO DOT EDU
Subject: debug problem
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Organization: Edison Industrial Systems Center

I am trying to debug a program that terminates with a segmentation error but
cannot determine where the error is occuring in spite of using the -g option
when compiling. The program terminates with

Segmentation violation in pointer 0x00000400 at 40:400

and dumps the registers when using debug32. When where is typed, 

0x00002ad0 __doprnt+1948

is the result. I don't know how to interpret this result. Normally, a list
of functions that were active when the error occurs are given along with
line numbers. 

Any ideas on what is going on or how to use the debugger to get more informa-
tion would be most appreciated.

Thanks in advance

John Miller

- Raw text -


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