From owner-freebsd-current@freebsd.org Wed Dec 2 17:44:00 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AA4934A1D6C; Wed, 2 Dec 2020 17:44:00 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f49.google.com (mail-io1-f49.google.com [209.85.166.49]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CmRCz6GQdz3Lt9; Wed, 2 Dec 2020 17:43:59 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-f49.google.com with SMTP id 81so1086359ioc.13; Wed, 02 Dec 2020 09:43:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=7cDObSf/LfTdqRLzx3T2qZZWps0oJ/kQrpeuvyezhOY=; b=SIvJrZ2A8+3AUKX+FSaFXl19GKvMF7m4yP0Al64DyvXgUuacxxjUWITpOZO+ijtBHe tjddMKatQHZVAzUFy8AXyhh/jF9nCfcnK/ydMR9GD4WjBY8reWw6O4eRRNBnR4Jd4DAy eSWsr3mw9Tc7QLCIjKuhHNZoCchJps1mQUPQ3GniSnVkiO5mPDI5WHuVAF4r78BYjNBU R6q6ZlTqIE2+wTVixvvcHBboS9z5ehKGEhMkU0gj/dxhxpgZqDZEADfbclNYnjXsMs2v hzzZkjv1vseaXlNu3PbiziD6qGgs/A9Yxb8OcEAFq5kOflf4gXi7qBE6cIDLry56u2S0 vzzQ== X-Gm-Message-State: AOAM5331NevprnkFrpjQFfG02KPJWfvK0ozDqBNqN8jRWVyfXcEQC0Yt jL2uTKhAGH/hr/9rIeNGNAOKheSmKMsowZLYlyzIlBUQNOVOeSYa X-Google-Smtp-Source: ABdhPJzh8eH/eKURkf9vF44cOw63nzfv6SoYIbffecY1r/Kzc6910Uoyt3gelcFtmlbp7MyNscZVMjKahmtF3yWH588= X-Received: by 2002:a02:cc54:: with SMTP id i20mr3231213jaq.136.1606931038023; Wed, 02 Dec 2020 09:43:58 -0800 (PST) MIME-Version: 1.0 From: Ed Maste Date: Wed, 2 Dec 2020 12:43:46 -0500 Message-ID: Subject: Removing obsolete GDB 6.1.1 for FreeBSD 13 To: FreeBSD Current , "freebsd-toolchain@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4CmRCz6GQdz3Lt9 X-Spamd-Bar: -- X-Spamd-Result: default: False [-3.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RBL_DBL_DONT_QUERY_IPS(0.00)[209.85.166.49:from]; R_DKIM_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEFALL_USER(0.00)[carpeddiem]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; SPAMHAUS_ZRD(0.00)[209.85.166.49:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[209.85.166.49:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.166.49:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current,freebsd-toolchain] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2020 17:44:00 -0000 We currently have an obsolete version of GDB 6.1 installed as /usr/libexec/gdb, kept only for use by crashinfo(8), which extracts some basic information from a kernel core dump after a crash. If the gdb port is installed crashinfo will use that in preference to /usr/libexec/gdb. If neither exists it will not perform any analysis, reporting "Unable to find a kernel debugger." GDB 6.1.1 was released in June 2004 and is long obsolete. It does not support all of the architectures that FreeBSD does, and imposes limitations on the FreeBSD kernel build - the continued use of DWARF2. I would like to remove GDB 6.1.1 before FreeBSD 13, and propose to switch the GDB knob to default to NO in the near future. If the crashinfo utility and related man pages do not already include references to installing the gdb port/package I will add those before making the change. In the fullness of time we may use LLDB to extract the same information, or provide other tooling to do so, but I do not want to block GDB 6.1.1's removal on this. Please let me know of any objections or comments.