ts-7000
[Top] [All Lists]

[ts-7000] Debugging QT Embedded on board through Qt Creator

To: Grant Peacock <>,
Subject: [ts-7000] Debugging QT Embedded on board through Qt Creator
From: Edmondo Porcu <>
Date: Tue, 26 Jan 2010 00:04:36 +0100


Dear all,
I would like to use QT Creator to debug my application on the board.
Looking at this post :
http://lists.trolltech.com/pipermail/qt-creator/2009-March/002265.html
I discovered someone already met this problem, and couldn't find a solution due to the commands executed by the gdbengine.cpp:
>Zitat von André Pönitz <andre.poenitz at nokia.com>:

> At some point of time the contents of the file specified under
> "startup script" is "sourced" from gdb, so you can additional
> commands there.

>Yes I know but this doesn't help in my case.

> If you need to change the existing ones, you currently(?) have
> to recompile. What kind of change do you need?

Ok. Well actually debugging works fine if I simply execute the
following commands on a terminal:

---snip---
arm-linux-gdb <BINARY_NAME>
target remote board:9999
break main
c
---snap---

As I have looked over the source in gdbengine.cpp I saw that there are
a lot of other commands executed as well. Especially the "exec-run" at
the end doesn't work in my case...as far as I can see from the
"Debug-GDB-View" in Qt Creator. It always results in "Don't know how
to run" reply from GDB. Probably my target is already running and this
command is not needed. Actually I simply want to execute the commands
from above within Qt Creator. Any ideas?

Thanks for help and with best regards,

Markus

As you can see, the problem is to make qt creator execute the right commands to target the gdbserver...
any ideas?
Best Regards
Edmondo


__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] Debugging QT Embedded on board through Qt Creator, Edmondo Porcu <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU