From nobody Wed Feb 21 16:49:30 2024 X-Original-To: freebsd-toolchain@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tg2Lb0D5tz59vQn for ; Wed, 21 Feb 2024 16:49:43 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tg2LZ6nHcz4h49; Wed, 21 Feb 2024 16:49:42 +0000 (UTC) (envelope-from theraven@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708534183; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Aspuec5KS3okFyePbuyHJRPGO0y1XwFuLK4jnFvC31k=; b=YHcrHUsuKwbRJj8HzALUZVZGQJMrAaspSrmKmHhidt1m2M/QMcXvntcfmAYSRI7C55adak u/XPdhP0K0nm/vG3JJ4jUYOIFnHpP2efKRhpIXe1NfqkSGW0TGkodIJpugXwnKr1NMvW4S L8xIDSpAmg6OA66SiVBMGjz8HM8IIHLhlFwyxDKqg+33Th2Q16bRcvnv4DGeQVpKNfM1Su Oy9Xia3IO7f8Y/f7Ty8ogx4zmz1Dh0kAVbfDoPiSUYVQl8guCvklQ5tSLdQojZFgwpk46V Fne6SoPion1ZgA+tCPsMIcSONos7B5WYCqiyyoVeUnjjI4mUy+fq9ihB4TzxBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708534182; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Aspuec5KS3okFyePbuyHJRPGO0y1XwFuLK4jnFvC31k=; b=pZEGp6Kh90nmodsYlmtk+a1Rh0JPzsbxI743mRHllM2Z4EMdu2HNgiOG7tg0WMfQqUl9Tq 4TbNY/jhj4ukHmiGcFkSPwxTpiLfEZhG1+Vak1h64/sP7UX3CRI+yM+eWNrojxS/7/+vLT zO/JC5Rp8/fgvb5Ibl4PD+mg/ScBbDhh7lki8Cxj7NGMl6CNkrGea9bAv2XrLVTEw/gAO4 ZkkUkEwsa4pgwQYjFOuj1yjjv2GEv7/Qb0+vg08wWgkz4SLj9qkrdwVkOQMN9kg1YKcK0V bgKUCU+1gln8JeDEaYYWtUeU1hVd+wgc7egZLsa0vFduR10mnYQbOGZqv4wclQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708534183; a=rsa-sha256; cv=none; b=GYGF7jKqT6jFkf200Suid9aGO8beEro8EFyMSWAlPQziAT3nzvb+rrtapxWbK2iLbHEmOM BGXGhKz2lMm2zKbF2hpvoFEokVGbBfC+CDvHyJjByD5QmLuvgxBcw06hd4gmyoVe31StST ZOwcVKt2j5KX+DnjH2CqYm2NgLfnZMIljmsAlHJ4g9hoFGQ2q1VNrZeHW0wTr+WtxDL26C Vgsspx7+6Ltv1H1JYxFHGaQYO5utmA2yp8lrwuLZZ+FiiqJEwp5p8UeQ5xJ27d+ZnpJDWL EhULLJIN6479HiXjYpFuZLrwzKtZlDwXnXWeEwdX0mALAP0I7PywVEhKdOV4OA== Received: from smtp.theravensnest.org (smtp.theravensnest.org [45.77.103.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: theraven) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Tg2LZ5gpDz13BP; Wed, 21 Feb 2024 16:49:42 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from smtpclient.apple (host86-131-178-116.range86-131.btcentralplus.com [86.131.178.116]) by smtp.theravensnest.org (Postfix) with ESMTPSA id 1C2A8906F; Wed, 21 Feb 2024 16:49:42 +0000 (GMT) Content-Type: text/plain; charset=utf-8 List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\)) Subject: Re: system clang's -debugger-tuning setting: Is the default gdb setting intended? From: David Chisnall In-Reply-To: Date: Wed, 21 Feb 2024 16:49:30 +0000 Cc: Mark Millard , FreeBSD Toolchain Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Brooks Davis X-Mailer: Apple Mail (2.3774.400.31) On 21 Feb 2024, at 16:43, Brooks Davis wrote: >=20 > On Tue, Feb 20, 2024 at 05:54:25PM -0800, Mark Millard wrote: >> [Curiosity, not an objection.] >>=20 >> It appears that most likely all FreeBSD platforms get the gdb >> setting by default . . . >=20 > I'm not sure we've thought about it much, but gdb is almost certainly > the right default tuning since it's what most developers are accustom > to. I hadn=E2=80=99t realised that was the default, but I guess that = explains why my debugging experience is worse on FreeBSD than on macOS, = even though they both ship the same compiler and debugger. I would assume that anyone who installs a debugger from ports can change = the default. I=E2=80=99m also curious about the =E2=80=98most developers=E2=80=99, = since lldb is the default debugger for both iOS and Android, and neither = lldb nor gdb are the default on Windows), so of the three biggest = platforms two use lldb and zero use gdb. Even among FreeBSD developers, = I=E2=80=99m not sure that the majority are installing a GNU component = from ports when there=E2=80=99s a debugger that *doesn=E2=80=99t* forget = your command history across invocations right there in the base system. David