This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: compiling a large program without gdb
- From: "Ramana Radhakrishnan" <ramana dot radhakrishnan at codito dot com>
- To: "karthik bala guru" <bluekarthik at yahoo dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 14 Jul 2004 09:52:17 +0530 (IST)
- Subject: Re: compiling a large program without gdb
- References: <20040714040009.82395.qmail@web90107.mail.scd.yahoo.com>
- Reply-to: ramana dot radhakrishnan at codito dot com
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