From: Wolfgang Denk Date: Wed, 02 Feb 2005 19:46:14 +0100 Subject: [U-Boot-Users] debug u-boot with BDI2000 In-Reply-To: Your message of "Wed, 02 Feb 2005 12:36:21 EST." <42010F95.4070709@smiths-aerospace.com> Message-ID: <20050202184619.DB06BC108D@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <42010F95.4070709@smiths-aerospace.com> you wrote: > > Just the standard ones for debugging: -g for symbolic support. This is default for U-Boot, so no change needed. > You may want to use -O0 to turn off optimization. The linux kernel We never do this. You get used to see what the optimizer is doing - and actually this my be very important to know. We've been hunting a couple of problems (like missing "volatile" atributes) when switching from older versions of GCC to GCC-3.3 - turning off -O0 ould have made this impossible. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Actual war is a very messy business. Very, very messy business. -- Kirk, "A Taste of Armageddon", stardate 3193.0