[Qt-creator] Remote GDB debugging.

Orgad Shaneh orgads at gmail.com
Mon Jun 16 12:56:40 CEST 2014


On Mon, Jun 16, 2014 at 1:41 PM, Tim Hutt <tdhutt at gmail.com> wrote:

> I may be wrong, but I don't think that actually work with ARM Cortex-M0
> chips. Otherwise why does this exist?:
>
>     https://launchpad.net/gcc-arm-embedded
>
> Sadly, gcc-arm-embedded does not support being built on Windows (I've now
> tried, look at this excerpt from the build script):
>
> # Set variables according to real environment to make this script can run
> # on Ubuntu and Mac OS X.
> ...
> if [ "x$uname_string" == "xlinux" ] ; then
> ...
> elif [ "x$uname_string" == "xdarwin" ] ; then
> ...
> else
>     error "Unsupported build system : $uname_string"
> fi
>
> Maybe I can add MingW support to their build system, but I doubt it's
> going to be easy! (Otherwise I imagine they'd have done it already.)
>
> Cheers,
>
> Tim
>
>
> On 16 June 2014 11:22, Fatih Aşıcı <fatih.asici at gmail.com> wrote:
>
>> On Monday 16 June 2014 12:29:34 Tim Hutt wrote:
>> > Hi, thanks. I tried QtCreator 3.0.1, but sadly I get this unhelpful
>> error
>> > "message":
>> >
>> > [image: Inline images 1]
>> >
>> > Oh well. I guess I'll try and build the Arm GCC with python at some
>> point,
>> > but probably not for a while - cross-compiling a cross-compiler that
>> > depends on python doesn't sound like my idea of fun!
>>
>> You can try the makefiles in qt-creator repository:
>>
>>
>> https://qt.gitorious.org/qt-creator/qt-creator/source/17febac88b8ecfde9a5502b27f72b58ab4277165:dist/gdb
>>
>> You need to change the "targets" variable (e.g. targets=arm-none-eabi
>> msp430-elf).
>>
>> Regards,
>> Fatih
>>
>
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>
>
You don't need to build gcc in order to use gdb. Those are separate
projects.

GDB can be built for any target using MSYS+MinGW. Set targets in
Makefile.mingw and run make -f Makefile.mingw.

- Orgad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20140616/0a9693ac/attachment.html>


More information about the Qt-creator mailing list