From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Schwingen Date: Mon, 31 Jan 2011 12:17:31 +0100 Subject: [U-Boot] [PATCH v2] Adds general Freescale external debugger support In-Reply-To: <20110131104347.CD385D42A99@gemini.denx.de> References: <1296381492-31346-1-git-send-email-tie-fei.zang@freescale.com> <20110130194307.58FA4CD1385@gemini.denx.de> <4D45EB1D.4020104@discworld.dascon.de> <20110131104347.CD385D42A99@gemini.denx.de> Message-ID: <4D469A4B.5030602@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 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. cu Michael