From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) by sourceware.org (Postfix) with ESMTPS id 227DB3858D32 for ; Tue, 14 Nov 2023 19:40:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 227DB3858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 227DB3858D32 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::132 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699990853; cv=none; b=uz34dKafvgQW9yrzeXICo+d1vl7CE+EsbA/nb6QJxp5kD0lb25azj8MaleMHxdAetAsS8+hh9mTOlNMyfEFc7nTCxHboa3xyNw3+5M9DGz1eYlk+yFg15LrnmGEUfSvnu7caV2YszCy3r6TOG8XZiIGXjQ2UBYwNsBsfrSkIdXc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699990853; c=relaxed/simple; bh=QWMcxIM+LE/me2X26NigEV7UXW8bMK2X1VrMnTaLXAc=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=XxBoxEV8YjbyaNO3cTAKGVUO1cwY3R8kw0gGODUnfGaMEawcT5zDPS2kBidk40olb7DbOfBjb1Xrn3JUzqKXFVF3fP/Lhr8rwsAzffxoZuMOaLwUDQ/UDHKHvjgH103Ub830q01MTwaDQRAQ+VrQNJew4gIGZ+XVB1h5Eg65EdU= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-il1-x132.google.com with SMTP id e9e14a558f8ab-35742cbb670so21493125ab.2 for ; Tue, 14 Nov 2023 11:40:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1699990851; x=1700595651; darn=sourceware.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Lr4wC+jHgpGlRMtcPGdyzYiiDdL7CVGDV5pR8YCKNCQ=; b=Nf+7TNdnKyT4vCZm6JMGW+/tGYnKZSRcM/6B3Us7dTjzYTxSxKY4QFAV5jQ6VqADGS S8VxXCLVIXpKm7YKsLaQcwS6a0O3Qg/ljgsqeKI8nBMT/FA1o0EYaOTzStBzDKz39OT7 ZoA3xDbDlGI2FVPCyqMR9v6LCvNQCDYVVeKlZ8sNVmv7tlaZqGXRwH08+aP4/tHGxfy5 q+q2SufnjRrYkmCUOQil/jF3hTBKw8CfMH+HbVF/gmPyV3oJsCmRJOjUmeDQ9MyNLNBa fvVRWLuLmDDMmjOjRFmIHsEmZQgSiBcyImmXx5lS5Rv5SqajJOmm5po+WVOASsazH8NL Q9ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699990851; x=1700595651; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Lr4wC+jHgpGlRMtcPGdyzYiiDdL7CVGDV5pR8YCKNCQ=; b=U/zFAVhorsgBdG7O7F/l1hfnB7PYbVgKlFvE/ZntNJNj3L2r6IqIMit/mlJ2z9tfk3 DLWqll0DLJnS1/E2VEIksrSVLBQPzqA0nR0NMx9pt26uqcZOHREmfRGdXKXE5ECoqT4I IH60t9BCgL2vsAAZOw/t8qiBnEsEF2gjrgJL3adW8y9Hpy0svvQrSARUgxwaq8CmessH mz0AcBiXC14/o2jOPRKv7RYzlYNsKdj0sFuAoHkwenza66Ql+KPMXoORxlHKaKdlSG+i Qe8KNc55NyPH2BeQ4kJoQZdyU7YSr84eGLsQyxZzpKEuPp3vTJlWQ7s5++3qlWOdV9cR CLZw== X-Gm-Message-State: AOJu0YxHlBRNI9ghul282LDqf0v1LhsWYf79hUmIdxz/IaRKHwzXpKhh HUXJ0dD3+BKisqF27xK4L/VrEUbFZwELSZLEBBKw/w== X-Google-Smtp-Source: AGHT+IH1S4i9w8pHnBh4Rkq63dMxaT4VRjyaf6YFF2D94k0b9fZFcLE5qy+QnkR0hK/F5QG9o0Cxrw== X-Received: by 2002:a05:6e02:1645:b0:35a:b3d4:e4b1 with SMTP id v5-20020a056e02164500b0035ab3d4e4b1mr13066938ilu.26.1699990851132; Tue, 14 Nov 2023 11:40:51 -0800 (PST) Received: from murgatroyd (97-122-77-73.hlrn.qwest.net. [97.122.77.73]) by smtp.gmail.com with ESMTPSA id gg21-20020a056638691500b0042b1061c6a8sm579018jab.84.2023.11.14.11.40.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Nov 2023 11:40:50 -0800 (PST) From: Tom Tromey To: Carl Love Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: Ada compile with -fvar-tracking References: X-Attribution: Tom Date: Tue, 14 Nov 2023 12:40:50 -0700 In-Reply-To: (Carl Love's message of "Tue, 14 Nov 2023 11:24:59 -0800") Message-ID: <871qcsp1h9.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: >>>>> "Carl" == Carl Love writes: Carl> Per our conversation on HexChat about using -fvar-tracking when Carl> compiling Ada programs. Carl> I tried adding the -fvar-tracking option based on the examples we Carl> talked about. Here are the changes I used: Carl> +set flags [list debug additional_flags=-fvar-tracking] Yeah, I played with it a bit and came up with the non-obvious: set flags {debug additional_flags=-cargs additional_flags=-fvar-tracking additional_flags=-margs} which I guess would be prettier wrapped in a proc or some kind of mapping thing. Tom