Christian Kandeler wrote:
On Friday 05 March 2010 11:00:28 ext [email protected] wrote:

  
I've set the GDB sysroot and debug is now working but there is an issue
 evaluating Qt objects. For example I don't see QString values in the debug
 window.
    

This indicates a problem with the Qt debugging helpers.
  
Yes, I think it's my current problem but I don't know yet how to build "debugging helper". I tryed to go in "Option>Qt" but the "rebuild" button of my cross-compiled Qt is greyed telling me this directory is not a valid Qt installation. This cross-compiled version has been delivered to me by a sub-contrator. Can we create this "debugging helper" manually ?

  
You can see below the interesting parts of my GDB debug log (commented) .
 The sysroot is set to /home/gdrz9888/dev/BSP/eeebook_oe/tmp/rootfs/

{...}

    
&"source /home/gdrz9888/dev/gdbstartupfile\n"
      

I assume this is your server start script?
  
It's my gdb start script (not gdbserver).
  
&"set environment LD_PRELOAD
/home/gdrz9888/qtsdk-2010.01/qt/qtc-debugging-helper/libgdbmacros.so\n"
      

Is this the correct object, i.e. the one for the target (arm) platform? Are 
you deploying it to the target platform?
  
No It's not the correct one but I've not "libgdbmacros.so" file for my plateform yet and I don't know how to build it.
  
&"set architecture i386\n"
      

Again, this should be "arm". The value comes from the initial dialog. You can 
edit the combo box values to suit your needs.
  
Ok, it should be Arm but I don't find how to customize it. The combobox is not editable and I didn't found it in the options.

Christian

  
Thanks,

Guillaume.
*********************************
This message and any attachments (the "message") are confidential and intended solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it immediately and inform the sender.
********************************
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to