Using pretty printer for QT with GDB

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

Using pretty printer for QT with GDB

2,011件の閲覧回数
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,691件の閲覧回数
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 件の賞賛
返信