[KLUG Members] Oh great developers of KLUG.....
members@kalamazoolinux.org
members@kalamazoolinux.org
Tue, 17 Jul 2001 10:22:38 -0400
>>>>>What is the most likely cause of the following....
>>>>Hard to tell... Add a -g option and send it this way,
>>>
>>>"-g"? Thats not a valid strace or ldd option.
>>It's a GCC option. From gcc(1):
>> -g Produce debugging information in the operating sys-
>> tem's native format (stabs, COFF, XCOFF, or DWARF).
>> GDB can work with this debugging information. ....
>Do I have to do anything besides adding -g? I put -g in all the calls
>to g++ in the makefiles and gdb...
Actually, I've been looking at some of the newer stuff, like -gdwarf+
and so on. There are several different flavors of debugging extensions that
gcc and g++ support now. A couple of these are ONLY supported by gdb.
>And it dies with:
>(no debugging symbols found)...(gdb) run file-seq.fdd
Some of this may happen becasue it's dying in your libraries,which are not
compiled (if your're using supplied binaries) with any debugging info.
>Grr.. xxgdb doesn't come with Redhat.
It always has been on every RH distro I've ever seen! I will check and get
back to you on this...
Regards,
---> RGB <---