Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2012 20:02:58 +0800
From:      HU Dong <itechbear@gmail.com>
To:        Konstantin Tokarev <annulen@yandex.ru>
Cc:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: gdb doesn't work well with qtcreator
Message-ID:  <CAA96eVv4So%2BxiWV075=%2BPp1369vjOTz7CAU7FJB-=6ouNZshww@mail.gmail.com>
In-Reply-To: <830011344513308@web19g.yandex.ru>
References:  <CAA96eVtShbUY3CYJqqeR81iH3B1KKhy%2BAnvTo1x-mb8TrnQ_Fg@mail.gmail.com> <830011344513308@web19g.yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 9, 2012 at 7:55 PM, Konstantin Tokarev <annulen@yandex.ru> wrote:
>
>
> 09.08.2012, 15:50, "HU Dong" <itechbear@gmail.com>:
>> Hi,all!
>>     I just installed devel/qtcreator from port. Everything seemed to
>> work fine except the debugger. At first I set it to /usr/bin/gdb, it
>> simply crashed when I started debugging, with a dialog reporting "The
>> gdb process crashed." Then I installed devel/gdb and set the debugger
>> to /usr/local/bin/gdb, qtcreator reported that "Application process
>> could not be stopped:The program is not being run." and "Cannot
>> continue debugged process:The program is not being run."
>>     I've spent much time searching on the internet, but found nothing
>> helpful. Did anyone run into the same problem?
>>
>>     Env: FreeBSD  9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12
>> 01:47:53 UTC 2012
>> root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>
> Which version og gdb are you using? Qt Creator officially requires gdb >= 7.2,
> and may have issues with earlier versions.
>
> Maybe it's worthwhile to ask on qt-creator@qt-project.org too.
>
> --
> Regards,
> Konstantin

I've tested both gdb 6.1.1 and 7.4.1_4, but with no luck.

I suspect that this problem is kind of freebsd-specific, cause I
didn't find similar problems reported on the internet.

HU Dong



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAA96eVv4So%2BxiWV075=%2BPp1369vjOTz7CAU7FJB-=6ouNZshww>