Using pretty printer for QT with GDB

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

Using pretty printer for QT with GDB

1,126 Views
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

Labels (1)
0 Kudos
1 Reply

806 Views
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 Kudos