From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id hqWwJraBuWMNohEAWB0awg (envelope-from ) for ; Sat, 07 Jan 2023 09:29:10 -0500 Received: by simark.ca (Postfix, from userid 112) id 9204E1E222; Sat, 7 Jan 2023 09:29:10 -0500 (EST) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=ShZIHJQo; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-8.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (server2.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 498711E112 for ; Sat, 7 Jan 2023 09:29:10 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E10183858C3A for ; Sat, 7 Jan 2023 14:29:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E10183858C3A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673101749; bh=RTbd3EMMdu1fuhKNOtwrqJ58o/F/ahfbKZP4VeiRWew=; h=Date:To:Cc:In-Reply-To:Subject:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=ShZIHJQoiu2d/MSTMyq2GNDiu5viI1FHL1YYJOTmn+9ZaLhQFz+j7vbTt5AsanpvG tDSFWM6ZZEcPQsWXg7x97VJ4Wx5LymNUc3vYYg/+ZQFvAQZyHt/VOZsJGGZwBwXXlE RVMJoXvw7AomqzHLAX0ewE9nhV+vgDsOaI9o3ku4= Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id A5C6F3858D35 for ; Sat, 7 Jan 2023 14:28:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A5C6F3858D35 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEABm-0000S5-HO; Sat, 07 Jan 2023 09:28:50 -0500 Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEABl-0001dB-VS; Sat, 07 Jan 2023 09:28:50 -0500 Date: Sat, 07 Jan 2023 16:29:09 +0200 Message-Id: <838ries9je.fsf@gnu.org> To: Andreas Schwab Cc: gdb-patches@sourceware.org In-Reply-To: <878rieh194.fsf@igel.home> (message from Andreas Schwab on Sat, 07 Jan 2023 15:23:35 +0100) Subject: Re: Two observations using GDB 13 snapshot References: <83h6xugc5v.fsf@gnu.org> <83r0w6uaad.fsf@gnu.org> <87fscmemeo.fsf@linux-m68k.org> <83358mu1tv.fsf@gnu.org> <87bknaek9z.fsf@linux-m68k.org> <83v8lisjlx.fsf@gnu.org> <87lemeh4wz.fsf@igel.home> <83h6x2sb5x.fsf@gnu.org> <87cz7qh2db.fsf@igel.home> <83a62usabj.fsf@gnu.org> <878rieh194.fsf@igel.home> 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: , From: Eli Zaretskii via Gdb-patches Reply-To: Eli Zaretskii Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" > From: Andreas Schwab > Cc: gdb-patches@sourceware.org > Date: Sat, 07 Jan 2023 15:23:35 +0100 > > On Jan 07 2023, Eli Zaretskii wrote: > > > GNU gdb ((MinGW32 GDB)) 13.0.50.20221217-git > > Copyright (C) 2022 Free Software Foundation, Inc. > > License GPLv3+: GNU GPL version 3 or later > > This is free software: you are free to change and redistribute it. > > There is NO WARRANTY, to the extent permitted by law. > > Type "show copying" and "show warranty" for details. > > This GDB was configured as "i686-pc-mingw32". > > Type "show configuration" for configuration details. > > For bug reporting instructions, please see: > > . > > Find the GDB manual and other documentation resources online at: > > . > > > > For help, type "help". > > Type "apropos word" to search for commands related to "word"... > > Reading symbols from ./gdb.exe... > > Here you should see a warning: > > warning: File "[...]/gdb-gdb.gdb" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". > > Does it help to copy gdb.exe to gdb and use that? Probably. I did it the other way around: copied gdb-gdb.gdb to the .libs subdirectory, and now the prompt is the expected (top-gdb). So the problem is that we are now using libtool, and that causes the GDB executable to be in a directory different from where gdb-gdb.gdb is kept. Joel, should the build procedure copy gdb-gdb.gdb to the .libs subdirectory, where the GDB executable now lives? Thanks.