From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29549 invoked by alias); 14 Jul 2004 04:06:43 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 29537 invoked from network); 14 Jul 2004 04:06:41 -0000 Received: from unknown (HELO marvin.codito.net) (203.197.88.2) by sourceware.org with SMTP; 14 Jul 2004 04:06:41 -0000 Received: from webmail.codito.com (localhost [127.0.0.1]) by marvin.codito.net (8.12.11/) with ESMTP id i6E4MEBw005186; Wed, 14 Jul 2004 09:52:17 +0530 Received: from 203.145.159.41 (SquirrelMail authenticated user ramana.radhakrishnan); by webmail.codito.com with HTTP; Wed, 14 Jul 2004 09:52:17 +0530 (IST) Message-ID: <3185.203.145.159.41.1089778937.squirrel@203.145.159.41> In-Reply-To: <20040714040009.82395.qmail@web90107.mail.scd.yahoo.com> References: <20040714040009.82395.qmail@web90107.mail.scd.yahoo.com> Date: Wed, 14 Jul 2004 04:25:00 -0000 Subject: Re: compiling a large program without gdb From: "Ramana Radhakrishnan" To: "karthik bala guru" Cc: gdb@sources.redhat.com Reply-To: ramana.radhakrishnan@codito.com User-Agent: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamd / ClamAV version 0.73, clamav-milter version 0.73a on marvin.codito.net X-Virus-Status: Clean X-SW-Source: 2004-07/txt/msg00126.txt.bz2 Karthik, > I have got a 'little' but 'quite-big' code with me > in linux 'c'. > It has many makefiles and more than 25 source files > and some 9 header files. These were all compiled > without gdb settings. It depends on the compiler you use. Use the debug option while compiling your code. Using gcc the debug options are usually -g . Try checking the debug options for your compiler. cheers Ramana ---- Ramana Radhakrishnan Codito Technologies