From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id YKTSJQBUFGLUMQAAWB0awg (envelope-from ) for ; Mon, 21 Feb 2022 22:09:52 -0500 Received: by simark.ca (Postfix, from userid 112) id 89AA71F3CB; Mon, 21 Feb 2022 22:09:52 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RDNS_DYNAMIC autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 057F31EE1F for ; Mon, 21 Feb 2022 22:09:52 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id DA86E38515FA for ; Tue, 22 Feb 2022 03:09:50 +0000 (GMT) Received: from arjuna.pair.com (arjuna.pair.com [209.68.5.131]) by sourceware.org (Postfix) with ESMTPS id DE7AA385843F for ; Tue, 22 Feb 2022 03:09:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DE7AA385843F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=bitrange.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bitrange.com Received: by arjuna.pair.com (Postfix, from userid 3006) id 7D4D98A75C; Mon, 21 Feb 2022 22:09:39 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by arjuna.pair.com (Postfix) with ESMTP id 7C9E18A755; Mon, 21 Feb 2022 22:09:39 -0500 (EST) Date: Mon, 21 Feb 2022 22:09:39 -0500 (EST) From: Hans-Peter Nilsson X-X-Sender: hp@arjuna.pair.com To: Mike Frysinger Subject: Re: [PATCH] sim: gdbinit: hoist setup to common code In-Reply-To: <20220217054035.10127-1-vapier@gentoo.org> Message-ID: References: <20220217054035.10127-1-vapier@gentoo.org> User-Agent: Alpine 2.20.16 (BSF 172 2016-09-29) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: hp@axis.com, gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On Thu, 17 Feb 2022, Mike Frysinger via Gdb-patches wrote: > This was left in subdirs because of the dynamic cgen usage. However, > we can move this breakpoint call to runtime and let gdb detect whether > the symbol exists. The .gdbinit file doesn't do much good in the sim/ directory instead of sim/ where the "run" program is located (such that .gdbinit is loaded when you start gdb there to debug it). Make a symlink in sim/? brgds, H-P