gdb problems

Joakim Tjernlund joakim.tjernlund at lumentis.se
Sat May 12 01:38:52 EST 2001


Hi again

Next small problem:

How do i get gdb to debug assembler files?
if i do "list _start" in gdb i get a:
No line number information avaiable for address 0xfc0100 <_start>

I have tried a different gdb debuggers and options to gcc

    Jocke

> -----Original Message-----
> From: Joakim Tjernlund [mailto:joakim.tjernlund at lumentis.se]
> Sent: Friday, May 11, 2001 12:24
> To: Scott Anderson
> Cc: linuxppc-embedded at lists.linuxppc.org
> Subject: RE: gdb problems
>
>
> 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?
>


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





More information about the Linuxppc-embedded mailing list