From owner-freebsd-arch@freebsd.org Tue Oct 20 21:17:49 2015 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 06DB4A1A387 for ; Tue, 20 Oct 2015 21:17:49 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D10EBC76 for ; Tue, 20 Oct 2015 21:17:48 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: by pabrc13 with SMTP id rc13so32033601pab.0 for ; Tue, 20 Oct 2015 14:17:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=4xqznBuWt5qEvqttY+TghmgEAjDM8Pq7GHI4NvEplQU=; b=FevjKUm/uXMh2xtJbMQods32MIKTHY10wHJ8EB36ENQYuEyFipeORxeccvsz33n+ku 9yyngUhW1tKcsCGgs3M5jupzhZkHCW6P1r32HsGq5AWEsIdII5ra+VRGiBCYkeCWM3j6 lmOzFcQfAx7PugaYbN8Q2+UaYYKJ7E5ps1Oj2jFLAdlL8+F9376/JcUZcoXK3kCIbIt5 YA7LMoqBIgOy8TtT3wbglLFy23rt1B+Nmx4zX3nz2jA5h/dcGGobZ4fYtUGIdBVtDAWs Sa5PJzVCek7P/ryH9LRXK4A6kAsMQHR7U21YIbmITcwxM/vp2UPUM/iswcyT/ERvcJYj VXag== X-Gm-Message-State: ALoCoQkge+n2z9YC4KHSIWQE33Ej2BWjPMBLQSczPF5cXsKVfJ9z2OCA1PGMvUvvpLJxQV86JKRb X-Received: by 10.66.219.74 with SMTP id pm10mr6161623pac.93.1445375862255; Tue, 20 Oct 2015 14:17:42 -0700 (PDT) Received: from ip-100-127-129-52.ec2.internal ([69.53.245.5]) by smtp.gmail.com with ESMTPSA id ux3sm5423745pac.18.2015.10.20.14.17.41 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 20 Oct 2015 14:17:41 -0700 (PDT) Sender: Warner Losh Subject: Re: Retiring in-tree GDB Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: multipart/signed; boundary="Apple-Mail=_D8B9FE86-50A1-4DA7-8AEE-C214EEC46466"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5.2 From: Warner Losh In-Reply-To: <2678091.es0AGJQ0Ou@ralph.baldwin.cx> Date: Tue, 20 Oct 2015 15:17:38 -0600 Cc: freebsd-arch Message-Id: <6C0A00DD-E377-4E13-B9CA-880D4A288EFE@bsdimp.com> References: <2678091.es0AGJQ0Ou@ralph.baldwin.cx> To: John Baldwin X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2015 21:17:49 -0000 --Apple-Mail=_D8B9FE86-50A1-4DA7-8AEE-C214EEC46466 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Oct 20, 2015, at 2:36 PM, John Baldwin wrote: > There are some issues still with devel/gdb: namely it does not = currently > support some of the platforms supported by our in tree gdb such as arm = and > mips. For these platforms I think the in-tree gdb will need to remain = until > there is a suitable alternative. What=E2=80=99s the lift for adding mips and arm support? Can we leverage = what we have done for gcc/binutils ports at all and/or what we have in the tree = today? > However, I would like to propose that we retire the in-tree GDB for = some of > our platforms (namely x86) for 11. In particular, I think we should = default > to enabling lldb and disabling gdb for platforms that meet the = following > criteria: >=20 > 1) devel/gdb works including thread and kgdb support > 2) lldb works >=20 > We could perhaps be more aggressive and handle lldb and gdb toggles > independently, but I think we want to ship some sort of userland = debugger > out of the box on all of our platforms. The question I think might be = if > we end up with platforms where 1) is true but 2) is not (such as = powerpc). >=20 > I believe that these conditions are only true for x86 currently. >=20 > Comments? I think you are making this way too complicated. I think we should just turn gdb off for all platforms. Leave it off by = default. For arm it=E2=80=99s an OK debugger, but not great. For mips it is = barely usable in its current state. So there=E2=80=99s not a huge loss in doing this. For platforms where lldb works, turn it on. Have devel/gdb available for as many platforms as it works on. Warner --Apple-Mail=_D8B9FE86-50A1-4DA7-8AEE-C214EEC46466 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJWJq9zAAoJEGwc0Sh9sBEAE/0P/iWXP2vNpl24QgRf1GEdKuWn WorpibEtS9YiGKKR+5kIFMubmM7QCn7eGvdQfQkWHqRThnSlVqpJp0UqTThl10Cg T9M8i4qA+2qPeXgs6L+elwqXX6gy+vw5f0UV31y45fc9Rrr93vYEWCXHLT/nSGM9 EUZSRMMsP/M3Yw/nMX8XChSw/spite2/QDCtBUi+7wMPd1QC6eFAx6w8w0MhRFR6 SaPGyjiZyfGxUFd5UoGmzjRcuzVQdzK4Kp4ELzhUjSr+aroecNftHSTaopV+HW9j fIQEhZAPAR3FgFWgH+7Cb2SOjqg0eplvxNVzuXMKolhUF7+wvvbjxqR0+x4dQX+z BylhzeY5PEqyHleuszT6skD2Ij0Rhg7Pf2Si2vnzyvlr3F7vw0F5aYPG9Q/hl6xV PMnnPEP8wTyH0NAIe2XhQAmHMnunFIe8unS1f8dORBeMHrJs9HIUPZvvLsoUFzr3 hz7rEo2gVx//tclWgmjJZ+1w1EsFaG7g8XsK8hnw6U4VsQUvB2am0ukJE8picFca iYxT4vtafIPY+/v/wvyhC3Dw5OtubjKaR3QzP6SZctnQY/2c5VwO3PDrYJ1zYtBy uLLoR+gCO5VmL5pBnHXgEewvl5GgwIbzdYh7AMmhavceOKbeyRJNwe/MXwefJIDu eSVw5gmIQRVEtb55VVM7 =sex3 -----END PGP SIGNATURE----- --Apple-Mail=_D8B9FE86-50A1-4DA7-8AEE-C214EEC46466--