Do you have a question? Post it now! No Registration Necessary
Subject
- Posted on
arm linux with gdb
- 07-04-2003
- joerg holter
July 4, 2003, 1:53 pm

Hello,
I am trying to cross-compile the latest gdb(5.3) for the arm, but I am
stuck. Before I put any further effort into this issue my question:
Is there a pre-build version of the latest gdb(5.3) for the arm platform
existing somewhere in the Web? :)
Thanks.
(await further postings ;)
I am trying to cross-compile the latest gdb(5.3) for the arm, but I am
stuck. Before I put any further effort into this issue my question:
Is there a pre-build version of the latest gdb(5.3) for the arm platform
existing somewhere in the Web? :)
Thanks.
(await further postings ;)

Re: arm linux with gdb
#!/bin/sh
GDB_VER=5.3
TARGET=avr-unknown-elf
PREFIX=/usr/local
tar jxvf gdb-$GDB_VER.tar.bz2
mkdir gdb
cd gdb
../gdb-$GDB_VER/configure --target=$TARGET --prefix=$PREFIX
make all
make install
cd ..
See http://www.ocdemon.com/OCDemonLinux.html or
http://sourceforge.net/projects/gnude for
a ready-to-use package.
Note that you can build insight just by replacing all instances of
"gdb" by "insight"
in the script above.
Jean Tabel

am
platform

Re: arm linux with gdb

Really? That's odd, I found the exact opposite when configuring GDB
5.3 with --target=arm-elf. I had to make changes to
config/arm/tm-embed.h to get GDB to believe that "target remote"
targets support hardware breakpoints and allow the hbreak command to
be used.
- Fred
Site Timeline
- » Simplest MCU or SOC for linux
- — Next thread in » Embedded Linux
-
- » Ideal Linux Distribution for Microcontrollers?
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » Re: Capacitors at RF
- — The site's Newest Thread. Posted in » Electronics Repair
-