Intel® SoC FPGA Embedded Development Suite
Support for SoC FPGA Software Development, SoC FPGA HPS Architecture, HPS SoC Boot and Configuration, Operating Systems

gdb-on-target support


I am using an Arria-10 based SoC FPGA (10AS066H3F34) with fabric bit-stream encryption enabled (thus JTAG disabled).  I want to use gdb debugger on the target.  I am working on target remotely and cannot gdb remotely and gdb-server on target FPGA board.  Has gdb been compiled for the arm-linux-gnueabihf platform?  I see gdb-server has been compiled.  How do others use gdb (not gdb-server alone) directly on target?

0 Kudos
5 Replies
Community Manager

Hello PeteHarbour,


If you have a linces of ARM DS* below, you can debug Linux application on Arm* DS with gdbserver over Ethernet.

Let us know if your expectation is different.


Arm* Development Studio for Intel® SoC FPGA


SoCEDS and ARM Development Studio


Arm* Development Studio User Guide


Linux Application Debugging With DS5

NOTE: Arm* DS5 has already dropped. But a procedure of debugging is almost same as Arm* DS. So you can refer to above link.



0 Kudos

Hi IntelSupport,


Thanks for the answer.  I am still using Eclipse DS-5 (community edition) for code development .  I see the new Arm* Development Studio suggestion, I will look into that.
However, I am also interested in another option.  My team is running code in customer field environments where specific conditions only occur on those environments.  We are unable to run our products with additional open Ethernet ports (to support gdb data protocol transfer from gdb-server target to gdb host) on customer sites as our FPGA fabric design is bit-stream encrypted for security.  We are hoping gdb has been built for the Arria-10 arm-linux-gnueabihf compiler platform (since gdb-server has already been built).  Our goal is to run gdb and gdb-server on the Arria-10 platform (debug directly on target).  We see there are Linaro versions of gdb built for arm-linux-gnueabihf, but they do not seem to run on the Arria-10 platform.  Are you familiar with any Intel customers requesting to gdb debug on target directly?

0 Kudos
Community Manager

Hi PeteHarbour,


Thank you for the response and detailed explnation.

We understood your goal which you want to debug any program on A10 SoC with gdb and gdb server directly via SSH or Serial port.

Unfortunately, we have never heard the request.

But, we try to debug any program on the target.



0 Kudos
Community Manager

Hi PeteHarbour,


We hope you did resolved the issue by yourself.

We also tried the gdb static binary below on Arria 10 SoC Dev Kit. It works fine.


Here is an actual log of the GDB when debugged the hello world sample.

root@arria10:~/hello# ../gdbstatic ./hello                                     

GNU gdb (GDB) 7.6                                                              

Copyright (C) 2013 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 "arm-linux-gnueabi".                                

For bug reporting instructions, please see:                                    


Reading symbols from /home/root/hello/hello...done.                            

(gdb) b main                                                                   

Breakpoint 1 at 0x103dc: file hello.c, line 5.                                 

(gdb) l                                                                        

1      #include <stdio.h>                                                     


3      int main()                                                             

4      {                                                                      

5         printf("Hello world\n");                                            

6         return 0;                                                           

7      }                                                                      


(gdb) run                                                                      

Starting program: /home/root/hello/hello                                       


Breakpoint 1, main () at hello.c:5                                             

5         printf("Hello world\n");                                            

(gdb) s                                                                        

Hello world                                                                    

6         return 0;                                                           

(gdb) quit                                                                     

A debugging session is active.                                                 


       Inferior 1 [process 567] will be killed.                               


Quit anyway? (y or n) y                                                        



Lastly, we used pre-build binary below as Embedded Linux System.



0 Kudos
Community Manager

We do not receive any response from you to the previous question/reply/answer that I have provided. This thread will be transitioned to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you. 

0 Kudos