This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compiling a large program without gdb


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]