Hello, I use Debug -> Start Debugging -> Attach to Remote. All the fields are there (solib-absolute-prefix is an alias for sysroot, and "location of debugging information" is solib-search-path), and the last few "configurations" are stored, so you can call them back easily. I have to start gdbserver on the target manually, set a shortcut to open the 'attach to remote' dialog, and it is been working great for me so for.
Best regards, -- Francois On Thu, Jun 21, 2012 at 4:18 PM, Orgad and Raizel Shaneh <[email protected]>wrote: > On Thu, Jun 21, 2012 at 4:21 PM, Diego Iastrubni <[email protected]>wrote: > >> Hi all, >> >> I am using QtCreator to develop a C++ project which most of it is >> cross compiling to android (cmake FTW!). My problem is that somethings >> are not really working on Andrioid, and right now I have to use >> gdbserver for debugging. On the client the setup is a little different >> then normally, since we are targetting another toolchain (not even a >> gnu toolchain, as android uses Dalvik and not {g,uc}libc). >> >> - I cannot use the normal gdb, I need to use >> $ANDROID_SRC/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gdb >> - When I connect I need to run the following extra commands: >> >> set solib-absolute-prefix >> $ANDROID_SRC/out/target/product/MYPRODUCT/symbols/ >> set solib-search-path >> $ANDROID_SRC/out/target/product/MYPRODUCT/symbols/system/lib/ >> >> However - from this point, the debugging is normal. Is it possible to >> automate this and then use QtCreator for code navigation? >> >> >> - diego >> _______________________________________________ >> Qt-creator mailing list >> [email protected] >> http://lists.qt-project.org/mailman/listinfo/qt-creator >> > > Set a toolchain with this version of gdb, and set your project to use it. > In Tools -> Options -> Debugger -> GDB insert your commands in "Additional > Startup Commands" > > - Orgad > > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/qt-creator > >
_______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
