From owner-freebsd-ports@FreeBSD.ORG Mon Aug 13 08:23:33 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A01B01065674 for ; Mon, 13 Aug 2012 08:23:33 +0000 (UTC) (envelope-from itechbear@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5FF598FC08 for ; Mon, 13 Aug 2012 08:23:32 +0000 (UTC) Received: by obbun3 with SMTP id un3so8835162obb.13 for ; Mon, 13 Aug 2012 01:23:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=FFGRcq5kPD5GxH8sbIoRl4hMhbJbPtBKZP3jHGp28BQ=; b=je8pUQo7/934Qz8oOCxijxduYpOoNnhddpfDkx0qjNNjqkSWPez2r1r8QflH5FuyXo gBC8L0GEn3ADUBBITdqsIky2X0EwRplsb4ioTqo7580SIy9SkBK5EDxswP6SGyfN4bLB ybO85EErcvOS05vWrzPwG802AdBAPKlDXCw6olcW9zK6QJnOIxMKnyEea1kT1Ngg4mDt DJh99X5TkhyP+zg4Y75kh4rH5HhOQKGPgpeyBBv8GbxyuLyhOjpsdil31ULt6NkRsvSx Z2l5iGZmjhxOsNvjjPscA2NArOIc2BdrFrGpXVEVTxAwsRzL6LccLfZPpxUg9ZnyCmlH nGew== MIME-Version: 1.0 Received: by 10.60.13.201 with SMTP id j9mr16329557oec.51.1344846212515; Mon, 13 Aug 2012 01:23:32 -0700 (PDT) Received: by 10.76.4.204 with HTTP; Mon, 13 Aug 2012 01:23:32 -0700 (PDT) In-Reply-To: <5028B657.1050209@bally-wulff.de> References: <830011344513308@web19g.yandex.ru> <5028B657.1050209@bally-wulff.de> Date: Mon, 13 Aug 2012 16:23:32 +0800 Message-ID: From: HU Dong To: Luca Pizzamiglio Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-ports@freebsd.org" , Konstantin Tokarev 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 08:23:33 -0000 On Mon, Aug 13, 2012 at 4:09 PM, Luca Pizzamiglio < l.pizzamiglio@bally-wulff.de> 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