From owner-freebsd-ports@FreeBSD.ORG Tue Aug 14 00:29:31 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 607151065672 for ; Tue, 14 Aug 2012 00:29:31 +0000 (UTC) (envelope-from itechbear@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 141D58FC0C for ; Tue, 14 Aug 2012 00:29:30 +0000 (UTC) Received: by yhfs35 with SMTP id s35so4687247yhf.13 for ; Mon, 13 Aug 2012 17:29:30 -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=tqWlCgh/zXigC2YIEz7aZalIjQCrlLghP0eBqU1ccfs=; b=jH3KCSNjF95bu2uAOven641omyM47bEGRAkDhicfiVFgWnwBSMDy65JzbTnJiqx97C lOa5zs7bu2CNyViQnRCSl4A+LcFLWCu1RDezhUmZB9ad2jkxp9NsLfvLPjQ3lyxCJNdS rSBfWMInvV0wOJ7E4bbLwzAuz6quhhsk8i1lhhA4oJ/gYJ0WO3dN8HrZv2AzRtosG4Iq ApWswrXNllxNWWbKnrSFHT5AOGgj8MmHcdgj908twkVB+6hAp4GYh3iVMYDKgJOBdCWu bx5NgiMZI3dwJ2vNyrslJNWu/oi7CGuVTXA/8UxdPVb8V6AufUQAjm1H394KfZBb5l6B oalw== MIME-Version: 1.0 Received: by 10.43.48.129 with SMTP id uw1mr9806121icb.10.1344904169957; Mon, 13 Aug 2012 17:29:29 -0700 (PDT) Received: by 10.231.202.208 with HTTP; Mon, 13 Aug 2012 17:29:29 -0700 (PDT) In-Reply-To: <50291AAB.7070300@bally-wulff.de> References: <830011344513308@web19g.yandex.ru> <5028B657.1050209@bally-wulff.de> <50291AAB.7070300@bally-wulff.de> Date: Tue, 14 Aug 2012 08:29:29 +0800 Message-ID: From: HU Dong To: Luca Pizzamiglio Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-ports@freebsd.org" Subject: 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: Tue, 14 Aug 2012 00:29:31 -0000 waiting for your furthur reply. B.R. HU Dong On Monday, August 13, 2012, Luca Pizzamiglio wrote: > 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 >=3D 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 > > --=20 =D7=A3=BA=C3=A3=A1 Best Regards, =BA=FA=B6=AB HU Dong =C7=E5=BB=AA=B4=F3=D1=A7=B5=E7=D7=D3=CF=B5 Dept of EE, Tsinghua Univ 137 5115 5701 +86 137 5115 5701