X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "John Hanley" Newsgroups: comp.os.msdos.djgpp Subject: program hanging Date: Wed, 11 Aug 2004 15:16:00 -0600 Organization: University of Alberta Lines: 13 Message-ID: <1092258885.100659@proxy2.srv.ualberta.ca> NNTP-Posting-Host: proxy2.srv.ualberta.ca X-Trace: tabloid.srv.ualberta.ca 1092258885 54 129.128.5.161 (11 Aug 2004 21:14:45 GMT) X-Complaints-To: abuse AT ualberta DOT ca NNTP-Posting-Date: Wed, 11 Aug 2004 21:14:45 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Cache-Post-Path: proxy2.srv.ualberta.ca!unknown AT d199-126-23-72 DOT abhsia DOT telus DOT net X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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? Any ideas as to what might be causing this? Thanks a bunch! John