X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Thu, 12 Aug 2004 06:44:32 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-Id: <7105-Thu12Aug2004064431+0300-eliz@gnu.org> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <1092258885.100659@proxy2.srv.ualberta.ca> (jdhanley AT telusplanet DOT net) Subject: Re: program hanging References: <1092258885 DOT 100659 AT proxy2 DOT srv DOT ualberta DOT ca> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "John Hanley" > Newsgroups: comp.os.msdos.djgpp > Date: Wed, 11 Aug 2004 15:16:00 -0600 > > My DOS program compiled under DJGPP seems to be hanging. When I try running > it, it doesn't even get to the first printf statement in the program. When > I debugged it with gdb, the first time it stepped through ok, the second > time I set a breakpoint for line 1 and it didn't even make it there. How > does a program hang before it gets to the first line of the program? One possibility is that you have large automatic arrays or structures that overflow the run-time stack.