How to use gdb server to debug application on i.MX6ULL?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use gdb server to debug application on i.MX6ULL?

1,142 Views
bernardxiong
Contributor I

Hello,

We want to use gdb server to debug application on i.MX6ULL. The OS of i.MX6ULL is Linux, and to debug an user application with cross compiled gdb server.

We found the application can be stopped in breakpoint, but it can not be stopped on:

* step;

* hardware point;

And the watchpoint is also invalid. 

 

Should we do some setting in i.MX6ULL? Thanks.

 

Labels (1)
0 Kudos
2 Replies

1,107 Views
art
NXP Employee
NXP Employee

Please refer to the following Application Note document:

https://www.nxp.com/docs/en/application-note/AN4553.pdf

Best Regards,

Artur

0 Kudos

1,132 Views
xiaodong_zhang
NXP Employee
NXP Employee

@bernardxiong 

You can refer to the post <迅为i.MX6ULL开发板移植Gdb+Gdbserver调试> in CSDN

https://blog.csdn.net/weixin_46635880/article/details/114984930

or https://bbs.21ic.com/icview-3136518-1-1.html

BTW, GDB is not hardware debugger like trace32 of Lauterbach and it can set hardware break point.

0 Kudos