Hi, On Wed, Apr 02, 2014 at 09:38:59PM +0200, Tim Sander wrote: > I used the QtCreator 3.1-beta with > https://gitorious.org/mbed-for-baremetal-qtcreator/mbed-for-baremetal-qtcreator > > Downloading, breakpoints work but single steps failed with the following > error: > Info : only breakpoints of two bytes length supported > Error: can't add breakpoint: resource not available
That sounds very much like a bug in how QtCreator implements gdb remote protocol (is it really not using local gdb as a client?). It shouldn't try to use breakpoints of size 4 for thumb code which is mostly 2 bytes long. It's another question how the breakpoints should be set for 4-bytes thumb2 instructions but I guess the same (only part of the instruction would be change to bkpt command), and it's already covered. -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:[email protected] ------------------------------------------------------------------------------ _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
