
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