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

Michael Schwingen rincewind at discworld.dascon.de
Sun Jan 30 23:50:05 CET 2011


Am 01/30/2011 08:43 PM, schrieb Wolfgang Denk:
>
> I don't see where this is specific to the Power architecture either -
> expect that you only tested it there.
>
> My understanding is that you enable debug settings for the GNU
> debugger.
>
> 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).

> Do these need to be enabled by a new #define?  What would be the
> disadvantages of having these options always enabled, for all
> architectures?
Always having debug info in the ELF file should not cause problems IMHO,
and one set of settings per platform should be enough.

cu
Michael



More information about the U-Boot mailing list