08-17-04 10:54 PM
Karthick S. wrote:
> anoop_kn@yahoo.com (Anoop Kumar) wrote in message news:<31fe3fb2.040817022
8.748776d@posting.google.com>...
>
>
>
> By "Optimized Build" I assume you mean without -g. This would mean
> there is no debugging info and hence there is no chance of gdb to have
> the function related information for it to print it.
> use the -g option while compiling to get the info. man gcc and man gdb
> will be helpful.
> Rgds,
> Karthick S.
A debugger will at least translate addresses into function names on an
unstripped binary. Other clues will tell you where in the function you
are. Although type information may be missing, you can examine sections
of memory in the core file to determine if the data is valid.
I've taken apart many core files, and although it is difficult to pin
down a specific code line under these circumstances, you can often get
a surprising amount of information.
--
Fletcher Glenn
[ Post a follow-up to this message ]
|