[U-Boot] [PATCH v2] Adds general Freescale external debugger support

Michael Schwingen rincewind at discworld.dascon.de
Mon Jan 31 12:17:31 CET 2011


Wolfgang Denk wrote:
> Dear Michael Schwingen,
>
> In message <4D45EB1D.4020104 at discworld.dascon.de> you wrote:
>   
>>> Do these need to be architecture specific? Probably not.
>>>       
>> I do remember that we needed architecture-dependent debug options on a
>> system I worked on in the past, because the preferred debug format was
>> different on different platforms (all using gcc/binutils/gdb).
>>     
>
> Can you please be a bit more specific here?
>   
I can only tell from memory, since this was some years ago - IIRC, we 
needed dwarf debug info on some platforms and stabs on others. I can't 
provide exact details, since the current toolchains work fine without 
such tweaking - I only wanted to point out that if you need to specify 
the exact debug format, then it might be platform-specific.

A simple "-g" should be fine in the common area.

cu
Michael



More information about the U-Boot mailing list