gdb problems

Joakim Tjernlund joakim.tjernlund at lumentis.se
Fri May 11 20:23:32 EST 2001


Thanks, that did the trick.

One small problem though. When I added -ggdb gcc complained about:
"Error: relocation can not be done when using -mrelocatable"

This is when I compile ppcboot. When I removed -mrelocateable, it compiled.

Why is this?

 Jocke

> In order to get gdb to understand structs, etc. I compile with -ggdb
> instead of -g.  Works quite well.  I'm spoiled now.
>
>     Scott Anderson
>     scott_anderson at mvista.com   MontaVista Software Inc.
>     (408)328-9214               1237 East Arques Ave.
>     http://www.mvista.com       Sunnyvale, CA  94085

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list