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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,276件の閲覧回数
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,241件の閲覧回数
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,266件の閲覧回数
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 件の賞賛
返信