Tue Feb 15 15:47:07 EST 2011

Building GDB for arm-eabi

# It's actually quite straightforward:

wget http://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
tar xf gdb-7.2.tar.bz2
mkdir -p gdb-7.2/build/arm-eabi
cd gdb-7.2/build/arm-eabi
../../configure --target=arm-eabi
sudo cp gdb/gdb /usr/local/bin/arm-eabi-gdb-7.2

EDIT: make sure XML support is enabled (will do by default if
libexpat-dev is installed) otherwise the openocd -> gdb memory map
transfer won't work which breaks many things.

EDIT: to enable python extension (apt-get install python-dev)
../../configure --target=arm-eabi --with-python