X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Sat, 04 Sep 2004 14:45:59 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-ID: <01c49274$Blat.v2.2.2$e4698a00@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2 In-reply-to: <1094151738.711500@proxy2.srv.ualberta.ca> (jdhanley AT telusplanet DOT net) Subject: Re: gdb question References: <1094151738 DOT 711500 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" > Date: Thu, 2 Sep 2004 13:03:33 -0600 > > I want to debug my program.c file, yet when I run gdb on program.exe, it > only sees main.c (I have main.c and program.c in my program). How can I > work with program.c? Please tell the details: at least the compilation and link command lines are needed, as well as the trace of your GDB session (i.e. what you typed inside GDB and what it printed in response). There's no way anyone could give you any meaningful advice without that information, unless they have a crystal ball that can guess things.