[U-Boot-Users] Compiling a debug version of U-boot
Armand Ciejak
armand.ciejak at free.fr
Mon May 23 17:30:19 CEST 2005
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-
More information about the U-Boot
mailing list