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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,239 次查看
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.

 

标签 (1)
0 项奖励
回复
2 回复数

1,204 次查看
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 项奖励
回复

1,229 次查看
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 项奖励
回复