From owner-freebsd-ports@FreeBSD.ORG Thu Aug 9 12:02:59 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 66D801065675 for ; Thu, 9 Aug 2012 12:02:59 +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 2C2BE8FC29 for ; Thu, 9 Aug 2012 12:02:58 +0000 (UTC) Received: by obbun3 with SMTP id un3so742993obb.13 for ; Thu, 09 Aug 2012 05:02:58 -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=sfO8GJtxzBSr94CHRiGqnx+XyTGGHId+uiG5Dx+9EFQ=; b=uiXZdxClhVOinJBx20K9ILsRdFie8rZrvCvX+SuT+/xFbJTNTSavDIRa5ByhcVaf/r 0/H1XCYMEgno2P9A96DlIgqYt+s14biYDUaqkPuHe4DG1ZkTCrtG2i9/Crza6L6d0MZo iOK5fSHeNItnpkeMfKnH8hTNjMswCBtgSU01HQJOTElieIZm+8UB9/UvcqIqM5S0Usbw jyXFfvCdElX9Hl5rNmPBvuhRia81AyQy5zNT2gpjIxjIBdB1vT1nMEdWgJ/bC7Yyc/4U PUG4LlDztYnURDvz6d1oupX59WL223ZDwPhFKxg4XdjhEU6q/o5QOnqzQjD6VMQvOZMI qToA== MIME-Version: 1.0 Received: by 10.182.89.102 with SMTP id bn6mr35297848obb.7.1344513778551; Thu, 09 Aug 2012 05:02:58 -0700 (PDT) Received: by 10.76.10.41 with HTTP; Thu, 9 Aug 2012 05:02:58 -0700 (PDT) In-Reply-To: <830011344513308@web19g.yandex.ru> References: <830011344513308@web19g.yandex.ru> Date: Thu, 9 Aug 2012 20:02:58 +0800 Message-ID: From: HU Dong To: Konstantin Tokarev Content-Type: text/plain; charset=ISO-8859-1 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: Thu, 09 Aug 2012 12:02:59 -0000 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