From owner-svn-src-all@freebsd.org Wed Apr 19 19:13:08 2017 Return-Path: Delivered-To: svn-src-all@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 27AEAD46385; Wed, 19 Apr 2017 19:13:08 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-qt0-x22f.google.com (mail-qt0-x22f.google.com [IPv6:2607:f8b0:400d:c0d::22f]) (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 E7B241295; Wed, 19 Apr 2017 19:13:07 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-qt0-x22f.google.com with SMTP id m36so28145026qtb.0; Wed, 19 Apr 2017 12:13:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=gDZXbDJ3mQ6J4+1V8xgDKYVn3Y4WVsdTefsMMCEcpyc=; b=nIr1TW7F58CxFvVmdOLKt28b9YY0ohingeFYC9+Md3t3lRVF+T+q0c+BilSakYSzX1 3JraUaDKVkJ2IaEFfFZJOcVGHFjGlpjbHeQxkidq0LeMcTJEGlt31ogQq9mK78EJJ2BB FrLqQp6THCwB9QjQLyFYfScsVrwTc3+CQ2dD/Cr7y6T3031rhexfJOy1okRsoatEQzQk ZR6CwwyZh80E63ORfZylgNv5gN0k/BR5yjlcHgyRJ1kTxuaqdXEK20qEA+ZxqwxUtPMt sEwHHZd/y62+lOQGmS9/HYWxTrw2oETHWKonp455LIwmGxbqAPqnWl56MahJs2gFn3o1 Xl/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=gDZXbDJ3mQ6J4+1V8xgDKYVn3Y4WVsdTefsMMCEcpyc=; b=HNHFfW1co/0EsqWhv0QLwJVCjUVnruASHZrUpa684izhMbJfXXiPBl/XvvuC5Cqmos u/GlEMWVDk64do6vqesf3SZe3W5P5PFcMPVcCvYGc2bE7GehSx3/xfwT3i9l0c9oHfNp MvHo0pjBwQbVmSUHcbDz+rMvcclqhYuMBAGZg9B5CXhGlkLXRzrIOBgyfX04Dp4i/dKs 4FCGVLcXWPvXhevQoOaJ6CuIJIAfcz/M2gJqrGrwheVWnJvMnN1qNlk7l1q/TI3E39sI Ye/yd4KAPTdh9ODMo3IFPuEPFGdQzMT84a8rVWJV/c+XFwe9Df0RQqxFP0esnC4bBaLf k1fA== X-Gm-Message-State: AN3rC/62MYNvfhxv3FNdztz7VAGRuUcE/agyCGLs4nJ/DKw2ypDPmalI 5YPX1bZ/jBd/anl+4cprkco8N7LvhA== X-Received: by 10.200.36.139 with SMTP id s11mr4503544qts.19.1492629186692; Wed, 19 Apr 2017 12:13:06 -0700 (PDT) MIME-Version: 1.0 Sender: chmeeedalf@gmail.com Received: by 10.12.178.219 with HTTP; Wed, 19 Apr 2017 12:13:06 -0700 (PDT) In-Reply-To: <201704191633.v3JGXWmu031427@pdx.rh.CN85.dnsmgr.net> References: <1709565.BYcnqjiFaR@ralph.baldwin.cx> <201704191633.v3JGXWmu031427@pdx.rh.CN85.dnsmgr.net> From: Justin Hibbits Date: Wed, 19 Apr 2017 14:13:06 -0500 X-Google-Sender-Auth: 8PtatbvLJJizda8i07x3dRET1rM Message-ID: Subject: Re: svn commit: r317094 - head/share/mk To: rgrimes@freebsd.org Cc: John Baldwin , Slawa Olhovchenkov , "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , src-committers Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Apr 2017 19:13:08 -0000 On Wed, Apr 19, 2017 at 11:33 AM, Rodney W. Grimes wrote: >> On Wednesday, April 19, 2017 01:28:37 AM Slawa Olhovchenkov wrote: >> > On Tue, Apr 18, 2017 at 12:45:25PM -0700, John Baldwin wrote: >> > >> > > On Tuesday, April 18, 2017 07:30:13 PM Slawa Olhovchenkov wrote: >> > > > On Tue, Apr 18, 2017 at 04:27:48PM +0000, John Baldwin wrote: >> > > > >> > > > > Author: jhb >> > > > > Date: Tue Apr 18 16:27:48 2017 >> > > > > New Revision: 317094 >> > > > > URL: https://svnweb.freebsd.org/changeset/base/317094 >> > > > > >> > > > > Log: >> > > > > Disable in-tree GDB by default on x86, mips, and powerpc. >> > > > > >> > > > > GDB in ports contains all of the functionality as GDB in base >> > > > > (including kgdb) for these platforms along with additional >> > > > > functionality. In-tree GDB remains enabled on ARM and sparc64. >> > > > > GDB in ports does not currently support kernel debugging on arm, >> > > > > and ports GDB for sparc64 has not been tested (though it does >> > > > > include sparc64 support). >> > > > > >> > > > > Reviewed by: bdrewery, emaste, imp >> > > > > Relnotes: yes >> > > > > Sponsored by: DARPA / AFRL >> > > > > Differential Revision: https://reviews.freebsd.org/D10399 >> > > > >> > > > Generating core.txt now complety broken? >> > > >> > > No. crashinfo has supported gdb from ports for quite a while now. >> > > If you 'pkg install gdb' crashinfo defaults to using the ports gdb over >> > > the base one already. >> > >> > I am about clean install, w/o ports. >> >> Until we get some sort of klldb support that will not work. However, >> we already have platforms now where /usr/bin/gdb doesn't work for that. >> riscv and aarch64 aren't supported in ancient gdb, and the MIPS >> /usr/bin/gdb didn't really work for me in my testing. > > So we break what worked on a Tier1 Platform? With my "user" hat on > these are the exact kind of breakages that send me looking for another > platform to run on. We far to often just go oh you can do X y and Z > to get around what we broke forgetting that the user 6 months from now > when this hits a release isnt gona come ask, he may just go down the > road to something else. > > Remove gdb WHEN klldb can replace it, not a day before. Using "oh its > broken on aarch64 and mips" is not a reason to break things on i386/amd64. > It's not removed, it's disabled by default now. As the commit message states, gdb in ports is much more feature filled than gdb in base > Yes, I know we want to get gnu stuff out of the tree, but that needs > to come AFTER a proper replacement is avaliable. > >> >> > Also, how to generate core.txt after crash, reboot and install gdb >> > from ports? (port instaled after crash) >> >> You can always run crashinfo by hand. > > /me starts to look for a new OS, this one is not very good at user support. I'd say this more warrants a set of "blessed" packages to include on install disks so we get this functionality without the extra step. - Justin > > > -- > Rod Grimes rgrimes@freebsd.org >