ARMv7 Debug Support

Raghav Nayak raghav.nayak at
Wed Mar 2 13:15:59 UTC 2016

Hi Joel,

When I try to run through GDB this is where It breaks. Do you have any idea about this problem?

raghav at raghav-VirtualBox:/mnt/FSL/rtems/rtems-git-armv7/build$ arm-rtems4.12-gdb arm-rtems4.12/c/armcortexa9/testsuites/samples/hello/hello.exe
GNU gdb (GDB) 7.9
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-linux-gnu --target=arm-rtems4.12".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from arm-rtems4.12/c/armcortexa9/testsuites/samples/hello/hello.exe...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .start, size 0x1e4 vma 0x0
Loading section .text, size 0x15cc4 vma 0x1e8
Loading section .init, size 0x18 vma 0x15eac
Loading section .fini, size 0x18 vma 0x15ec4
Loading section .rodata, size 0x968 vma 0x15ee0
Loading section .ARM.exidx, size 0x8 vma 0x16848
Loading section .eh_frame, size 0x4 vma 0x16850
Loading section .init_array, size 0x4 vma 0x16854
Loading section .fini_array, size 0x4 vma 0x16858
Loading section .jcr, size 0x4 vma 0x1685c
Loading section .rtemsroset, size 0x38 vma 0x16860
Loading section .data, size 0x5f0 vma 0x16cd8
Start address 0x40
Transfer rate: 750592 bits in <1 sec.
(gdb) b Init
Breakpoint 1 at 0x2f4: file ../../../../../../../c/src/../../testsuites/samples/hello/init.c, line 30.
(gdb) run
Starting program: /mnt/FSL/rtems/rtems-git-armv7/build/arm-rtems4.12/c/armcortexa9/testsuites/samples/hello/hello.exe
[Inferior 1 (process 42000) exited with code 017]
(gdb) run

With Regards

From: users [mailto:users-bounces at] On Behalf Of Raghav Nayak
Sent: Wednesday, March 02, 2016 5:33 PM
To: Sebastian Huber; joel at
Cc: users at
Subject: ARMv7 Debug Support


I could build RTEMS4.12 for "arm_32bit" but not able to debug through GDB or any other tool. Please help me to add debug build options to add debug sybols

With Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list