From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id yc97N3ByvGgniyMAWB0awg (envelope-from ) for ; Sat, 06 Sep 2025 13:42:08 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=ay8alMG+; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id D70921E023; Sat, 06 Sep 2025 13:42:08 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=no autolearn_force=no version=4.0.1 Received: from server2.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 ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id EA6161E023 for ; Sat, 06 Sep 2025 13:42:07 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 02BE33856DD1 for ; Sat, 6 Sep 2025 17:42:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 02BE33856DD1 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=ay8alMG+ Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 364043858C42 for ; Sat, 6 Sep 2025 17:41:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 364043858C42 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 364043858C42 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1757180496; cv=none; b=EVROj+cUooBjQvKUDs4qcl+PGou0/YTvZ19CmvXhnbpLCxPQo6ljvGO6Z+cJQssaAukI2wrVBuDs2kUf2d2gbpCTeIL2m5cmsI7mXcJ8RNyzJTbRdrGJF6V2fy5JQWwkrzjmMYCHLlkHL1oKau6E0K1ynbYcJjiQRKLRkLkIRYY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1757180496; c=relaxed/simple; bh=3Kcu9rXHR2ak+0r89wT7BSxOX5zOZlh8uBNDsjrL4ZA=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=bbtL7W+i9XcuWB8gOqy00AM921+nV5loyfFp3wvWTHzQZ+uU0/2DjzFCfmsETxVj79PGf1D0sDxhrfA/YkDshua6tp8umz2wdp6KfGmhoY4SL0hRR/veHQ2hoDVuaKOiRhI8YYrYNs/Zxh14tRtaKOIdGlyy8pBFUGhclcb26qw= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 364043858C42 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1757180496; 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=egNHk7xpaIELdEqirXSq2Ksab+wm/rCVEvgDnJdSzjQ=; b=ay8alMG+AYu2HKFJ4h01I97Ql/7NMTpTfI1nd3VSu8xtNQfBXPrd2c4FI6QRagIYXtbqHC R/wLxLjDI/J5GfTWH4kKj7Kfu+4r/YReRTA5gfFeN5BkFx6Jb5XO9QA4nj/1XAPPThHcLL Yf2A3t3pkXT0vaicAqlrcx2AaG2WpGs= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-434-LLXgFZCwPoykmNt9I_GvLw-1; Sat, 06 Sep 2025 13:41:34 -0400 X-MC-Unique: LLXgFZCwPoykmNt9I_GvLw-1 X-Mimecast-MFC-AGG-ID: LLXgFZCwPoykmNt9I_GvLw_1757180493 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (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 mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id C2D0E1800378; Sat, 6 Sep 2025 17:41:32 +0000 (UTC) Received: from f41-zbm-amd (unknown [10.22.80.10]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id AE75419560B8; Sat, 6 Sep 2025 17:41:30 +0000 (UTC) Date: Sat, 6 Sep 2025 10:41:25 -0700 From: Kevin Buettner To: Sergio Durigan Junior Cc: gdb-patches@sourceware.org, Andrew Burgess , Flavio Cruz , Mark Wielaard Subject: Re: [PATCH] gdb: Add i386-gnu-tdep to the list of objects for x86_64-*-gnu* Message-ID: <20250906103954.1a09b0ed@f41-zbm-amd> In-Reply-To: <20250905181507.2020753-1-sergiodj@sergiodj.net> References: <20250905181507.2020753-1-sergiodj@sergiodj.net> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: FqrwNmZKTrfZcC7JXrVEIbmBn_ueWqpgYn0lG0zJ2Zo_1757180493 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org On Fri, 5 Sep 2025 14:15:07 -0400 Sergio Durigan Junior wrote: > When starting GDB on Hurd amd64, one will currently see the following > warning: > > # gdb -q > gdb: warning: A handler for the OS ABI "GNU/Hurd" is not built into > this configuration of GDB. Attempting to continue with the default i386 > settings. (gdb) > > This happens because, in gdb/configure.tgt, the "x86_64-*-gnu*" target > is not pulling in the i386-gnu-tdep.o object, which means that only > 64-bit debugging is currently supported. > > The fix here is to add i386-gnu-tdep.o to the gdb_target_obs for Hurd > amd64. > > Signed-off-by: Sergio Durigan Junior > Suggested-by: Andrew Burgess > Reported-by: Mark Wielaard > Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33377 > --- > gdb/configure.tgt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gdb/configure.tgt b/gdb/configure.tgt > index 332f5b7513c..f33d3de9214 100644 > --- a/gdb/configure.tgt > +++ b/gdb/configure.tgt > @@ -754,7 +754,7 @@ x86_64-*-rtems*) > ;; > x86_64-*-gnu*) > # Target: x86_64 running the GNU Hurd > - gdb_target_obs="amd64-gnu-tdep.o glibc-tdep.o solib-svr4.o" > + gdb_target_obs="amd64-gnu-tdep.o i386-gnu-tdep.o glibc-tdep.o > solib-svr4.o" ;; > xtensa*-*-*linux*) > # Target: GNU/Linux Xtensa > -- > 2.50.1 > LGTM. Approved-by: Kevin Buettner