From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Schwingen Date: Sun, 30 Jan 2011 23:50:05 +0100 Subject: [U-Boot] [PATCH v2] Adds general Freescale external debugger support In-Reply-To: <20110130194307.58FA4CD1385@gemini.denx.de> References: <1296381492-31346-1-git-send-email-tie-fei.zang@freescale.com> <20110130194307.58FA4CD1385@gemini.denx.de> Message-ID: <4D45EB1D.4020104@discworld.dascon.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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