From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 cc: gdb-patches@sourceware.org, hp@axis.com 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-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org 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: , X-List-Received-Date: Tue, 22 Feb 2022 03:09:41 -0000 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