[Qt-creator] Remote debugging Qt Embedded on ARM with gdb 6.8 & gdbserver

Markus Franke markus.franke at informatik.tu-chemnitz.de
Mon Mar 16 17:30:07 CET 2009


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





More information about the Qt-creator-old mailing list