From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 1991 invoked from network); 4 Feb 2000 16:25:32 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 4 Feb 2000 16:25:32 -0000 Received: from osiris.ce.gatech.edu (osiris.ce.gatech.edu [130.207.65.244]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id LAA04080 for ; Fri, 4 Feb 2000 11:25:32 -0500 Received: from localhost (johnc@localhost) by osiris.ce.gatech.edu (8.8.8+Sun/8.8.8) with SMTP id KAA01897 for ; Fri, 4 Feb 2000 10:42:36 -0500 (EST) Date: Fri, 4 Feb 2000 10:42:36 -0500 (EST) From: John Clayton X-Sender: johnc@osiris To: axp-list@redhat.com Subject: xxgdb and C In-Reply-To: <389AD6FA.3891B154@dcginc.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I'm having trouble getting xxgdb to work well with C. If there are solutions to these problems, I'm sure many of you have come across them before. One problem is that xxgdb won't recognize many simple library functions, such as printf, sqrt, and pow. It will execute these functions correctly as long as I don't step to or break in lines that contain these functions, but if I do step through lines with these functions xxgdb says that the function is not defined (or something like that). Is there a problem with where it's looking for the libraries, such as in some configuration file? If so, how can I fix it? Another problem is that I can't get xxgdb to recognize global macro definitions included from other files. Say I were to have the line #define NUMBER 3 in a file that is included at the head of another file. When I list a function in the second file and request the value of anything that refers to NUMBER, such as an array element y[NUMBER], the debugger says that NUMBER is not in the current context. How can I fix this? Your suggestions are appreciated. John M. Clayton EPA STAR Graduate Research Fellow Former NSF Graduate Research Fellow ------------------------------------------------------------------ Environmental Engineering Phone (404) 894-9725 Georgia Institute of Technology Fax (404) 894-9724 email: johnc@osiris.ce.gatech.edu Home Phone (404) 355-2594 Home Pages: AEES: http://osiris.ce.gatech.edu/~aees/ Personal: http://osiris.ce.gatech.edu/~johnc/ ------------------------------------------------------------------- Go Tigers!