From mboxrd@z Thu Jan 1 00:00:00 1970 From: Armand Ciejak Date: Mon, 23 May 2005 17:30:19 +0200 Subject: [U-Boot-Users] Compiling a debug version of U-boot Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de What should I do to build a debug version of U-boot. I currently add ?#define DEBUG? to the u-boot_1.1.2/include/configs/board_name.h file. Is it the right method? I building U-boot for a custom board derived from the MPC8540ADS, and when I start gdb I get a strange warning. If someone has any idea it would help! linuxcompiler:~/u-boot/u-boot_1.1.2$ ppc-linux-gdb u-boot Warning: Cannot initialize solib-absolute-prefix GNU gdb Yellow Dog Linux (5.2.1-4b_8) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i386-redhat-linux --target=ppc-linux"... 0xfffffffc in ?? () (gdb) Thanks Armand Environment: - ELDK3.1 (gcc and gdb) - CROSS_COMPILE = ppc_6xx-