delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
Date: | Fri, 21 Sep 2007 10:27:54 -0400 |
Message-Id: | <200709211427.l8LERsvH017128@envy.delorie.com> |
From: | DJ Delorie <dj AT delorie DOT com> |
To: | djgpp AT delorie DOT com |
In-reply-to: | <0JOQ00LRA2FG5F20@mta4.srv.hcvlny.cv.net> (message from Ethan |
Rosenberg on Fri, 21 Sep 2007 10:18:38 -0400) | |
Subject: | Re: Help with program |
References: | <0JOQ00LRA2FG5F20 AT mta4 DOT srv DOT hcvlny DOT cv DOT net> |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
The best way to debug a program is to use the debugger. Recompile your program with -g and without any -O, then run it under gdb. When it crashes, you can see where and why. "info gdb" will teach you how to use the debugger.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |