From owner-freebsd-ports@FreeBSD.ORG Mon Aug 13 15:18:04 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EA6F81065673 for ; Mon, 13 Aug 2012 15:18:04 +0000 (UTC) (envelope-from l.pizzamiglio@bally-wulff.de) Received: from mail.bally-wulff.de (mail.bally-wulff.de [212.144.118.8]) by mx1.freebsd.org (Postfix) with ESMTP id 7908D8FC18 for ; Mon, 13 Aug 2012 15:18:04 +0000 (UTC) Received: from bwex.bally-wulff.de (bwex.bally-wulff.de [192.168.204.106]) by mail.bally-wulff.de (Postfix) with ESMTP id 820394E070; Mon, 13 Aug 2012 17:17:38 +0200 (CEST) Received: from pizzamig.bally.de ([192.168.205.30]) by bwex.bally-wulff.de with Microsoft SMTPSVC(6.0.3790.4675); Mon, 13 Aug 2012 17:18:02 +0200 Message-ID: <50291AAB.7070300@bally-wulff.de> Date: Mon, 13 Aug 2012 17:18:03 +0200 From: Luca Pizzamiglio User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:14.0) Gecko/20120727 Thunderbird/14.0 MIME-Version: 1.0 To: HU Dong References: <830011344513308@web19g.yandex.ru> <5028B657.1050209@bally-wulff.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Aug 2012 15:18:02.0490 (UTC) FILETIME=[D4A635A0:01CD7966] Cc: "freebsd-ports@freebsd.org" Subject: Re: gdb doesn't work well with qtcreator X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 15:18:05 -0000 Hi HU, I tried QtCreator 2.5.0 (Based on Qt 4.8.2 - 32 bit) on my 8-STABLE i386 system. gdb works good (only one worning about inappropriate ioctl for terminal device), but it works as expected. If I've time, I could try on a 9-STABLE system. Regards, Luca On 08/13/12 10:23, HU Dong wrote: > On Mon, Aug 13, 2012 at 4:09 PM, Luca Pizzamiglio > > wrote: > > Hi. > Could you provide a simple repro-case? Is your application a > multi-thread one? > > I'm using gdb 7.4.1_4 with KDevelop without problem, but my > applications are not Qt based... > > Regards, > Luca > > > On 08/09/12 14:02, HU Dong wrote: > > On Thu, Aug 9, 2012 at 7:55 PM, Konstantin Tokarev > > wrote: > > > > 09.08.2012, 15:50, "HU Dong" >: > > 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 > _________________________________________________ > freebsd-ports@freebsd.org > mailing list > http://lists.freebsd.org/__mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to > "freebsd-ports-unsubscribe@__freebsd.org > " > > > > It's not application-related. I tried "hello,world!" and the problem > still existed. The problem happened in Qt Creator, not kdevelop. Anyway, > thank you! > > B.R. > HU Dong