Using pretty printer for QT with GDB

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

Using pretty printer for QT with GDB

2,020 次查看
Giox79
Contributor I

Hello everybody.

I'm currently trying to use GDB pretty printer function on a iMX6 CPU (sabrelite).

I followed the tutorial on Memo for later: friendly gdb | 0xcafebabe and the setup seems fine (no error while starting GDB). However the debugger seems locked.

If I start debugging, I reach the breakpoint on the first main line, but if I click continue, the Program Counter seems locked (the GDB doesn't continue working).

Is there anyone using pretty printer for GDB and QT? Some hints about this topic?

Some detail:

  • GNU gdb (GDB) 7.6
  • Python: Python 2.7.3
  • Eclipse: Kepler

Any help will be appreciated.

Giovanni

标签 (1)
标记 (4)
0 项奖励
回复
1 回复

1,700 次查看
Giox79
Contributor I

Some minor details: when enabling the .gdinit as in the proposed link the section of eclipse displaying the variables is empty and if I write


print variable

in the gdb eclipse console, nothing is displayed. This happens with any kind of variable (int, double etc).

If I write nothing in the .gdbinit file, I'm able to look at the variables.

Best regards

Giovanni

0 项奖励
回复