
-----Original Message----- From: Michael Schwingen [mailto:rincewind@discworld.dascon.de] Sent: Monday, January 31, 2011 19:18 PM To: Wolfgang Denk Cc: Zang Roy-R61911; u-boot@lists.denx.de; Kumar Gala; Wood Scott-B07421 Subject: Re: [U-Boot] [PATCH v2] Adds general Freescale external debugger support
Wolfgang Denk wrote:
Dear Michael Schwingen,
In message 4D45EB1D.4020104@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.
Hi, Wolfgang Considering the name, how about CONFIG_POWERPC_GNU_DEBUGGER? thanks. Roy