How to start gdb using 2013-q4 Linux package?

Asked by theAdib

On the 2013-q3 package there is a /bin/arm-none-eabi-gdb .
Where on the 2013-q4 it is not.
I am using stm32F1 on linux.

Please give advise.

Best regards, Adib.

Question information

Language:
English Edit question
Status:
Answered
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Terry Guo (terry.guo) said :
#1

The /bin/arm-none-eabi-gdb is quit confusing. Are you using tool chain decompressed from bz2 package or using tool chain installed from apt-get?

Revision history for this message
theAdib (theadib) said :
#2

when I unzip the tar.bzip2 then I have:
adib@vega:/opt/gcc-arm-none-eabi-4_7-2013q3/bin$ ls
arm-none-eabi-addr2line arm-none-eabi-gcc-4.7.4 arm-none-eabi-ld.bfd
arm-none-eabi-ar arm-none-eabi-gcc-ar arm-none-eabi-nm
arm-none-eabi-as arm-none-eabi-gcc-nm arm-none-eabi-objcopy
arm-none-eabi-c++ arm-none-eabi-gcc-ranlib arm-none-eabi-objdump
arm-none-eabi-c++filt arm-none-eabi-gcov arm-none-eabi-ranlib
arm-none-eabi-cpp arm-none-eabi-gdb arm-none-eabi-readelf
arm-none-eabi-elfedit arm-none-eabi-gdbtui arm-none-eabi-size
arm-none-eabi-g++ arm-none-eabi-gprof arm-none-eabi-strings
arm-none-eabi-gcc arm-none-eabi-ld arm-none-eabi-strip

I use the ppa on my Ubuntu 13.10. There I have in /usr/arm-none-eabi/bin:
adib@vega:/usr/arm-none-eabi/bin$ ls
ar as c++ g++ gcc ld ld.bfd nm objcopy objdump ranlib strip

for gdbserver I use the openocd as follow:
openocd -f interface/olimex-arm-usb-ocd.cfg -f target/stm32f1x.cfg

Adib.--

Revision history for this message
Terry Guo (terry.guo) said :
#3

I saw arm-none-eabi-gdb under /opt/gcc-arm-none-eabi-4_7-2013q3/bin. This is the correct path to call arm-none-eabi-gdb. The tool chain PPA only supports Ubuntu up to 13.04. The 13.10 isn't officially supported. And the correct path to look for tool chain should be just /bin or /usr/bin, not the /usr/arm-none-eabi/bin. Executables under /usr/arm-none-eabi/bin are only used by tool chain itself.

Can you help with this problem?

Provide an answer of your own, or ask theAdib for more information if necessary.

To post a message you must log in.