From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id P5RRAVOFYWRgfgoAWB0awg (envelope-from ) for ; Sun, 14 May 2023 21:05:23 -0400 Received: by simark.ca (Postfix, from userid 112) id E46541E11E; Sun, 14 May 2023 21:05:22 -0400 (EDT) Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=SN7OlgGG; 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=-5.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED, RDNS_DYNAMIC autolearn=ham autolearn_force=no version=3.4.6 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 201DD1E0D6 for ; Sun, 14 May 2023 21:05:22 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8682C385735A for ; Mon, 15 May 2023 01:05:21 +0000 (GMT) Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by sourceware.org (Postfix) with ESMTPS id 174E13858D37; Mon, 15 May 2023 01:04:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 174E13858D37 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=harmstone.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-3f41dceb9d1so92105365e9.1; Sun, 14 May 2023 18:04:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684112671; x=1686704671; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=+KNKnfRiEjRVcQErmegM1MdR8hb8N3ukgGHPgfK4ilk=; b=SN7OlgGGuJd+TP6O2sWXt0Ci67zP71YkUOw1GAbAholFHYi0cGGuVCGB4TDtdglYw5 qNereT7QtjlsS+01r6+usu6RtQ2wZWm1s035NjniUj4m0+BdHIJWevXyriTVyApBkxRs dKnM6BUZEh5OQGlPmU1xM4tU3WeZA2/k7kZxc/4Io4v5W1wrrbTV456MMWUHXyHWp98K fFBMkix9fUVdyXHb4UcYlyOyBqeTaenHsLsfY9mzU+jzL640RQXseXRZPCRqroGTgWPd Hfef8MDb+UPTPxEMsYw1ZlWGUuQUwx5CcwDbFP3q92kDlnW8n2Cf/CVPsLFM6Jgq4FbV RLqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684112671; x=1686704671; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+KNKnfRiEjRVcQErmegM1MdR8hb8N3ukgGHPgfK4ilk=; b=ltHHqvTBWiWbQOS/UilIZkBEqBgmdMSeyTQrA+878ZCQBOh6eyYRaNl6wBYXNq7AqK RhxbIX0BIIZ7tBbLU8iGl8VBi52NEClztmxcMxGNVxtPMISP13gM2nVAlM9brt6bfQhy V31QUW5aF9RmYkDf2noP4Li5A3l/B4PqyWCj+qa+tpq9s4dH1Mjq954Ugh2TOpHCfjHX /2I7CnWr8PJ8stfA0CIgWA0xdcw1+8+S2phWCZtRrOfIQasq3ghUIFEU0sXOjRgSvkpN cxKfr/6Yo1H4oI6KT5F8ZVr+Sg/sGpwKkwWOvi6/3X7uAnkenxmFRBVhOfgj4I2Fvau8 CENg== X-Gm-Message-State: AC+VfDykaQDtUsAK5DBoHx/zeuvWyU5wi3SDyB7qjrEhsn9FnKGAQ2Qv wJXo7Z4xa3HMqDwoy9jS0ZA= X-Google-Smtp-Source: ACHHUZ77D56I5ieqjMrfbEpzMU5ScmqxmqP6v0bE67O08Q2P6AVdYD/SmOAnBDfDzAowihf7dGKKLA== X-Received: by 2002:a1c:750a:0:b0:3f4:16bc:bd19 with SMTP id o10-20020a1c750a000000b003f416bcbd19mr20858022wmc.23.1684112671202; Sun, 14 May 2023 18:04:31 -0700 (PDT) Received: from ?IPV6:2a02:8010:64ea:0:8eb8:7eff:fe53:9d5f? ([2a02:8010:64ea:0:8eb8:7eff:fe53:9d5f]) by smtp.googlemail.com with ESMTPSA id k9-20020a05600c1c8900b003f4283f5c1bsm28279330wms.2.2023.05.14.18.04.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 14 May 2023 18:04:30 -0700 (PDT) Message-ID: <29be8841-c2c8-9256-42f8-723cd44dfc0c@harmstone.com> Date: Mon, 15 May 2023 02:04:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH 1/2] pdb: Allow loading by gdb Content-Language: en-US To: Alan Modra , "binutils@sourceware.org" , gdb-patches@sourceware.org References: <20230509003247.24156-1-mark@harmstone.com> From: Mark Harmstone In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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: , Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On 10/5/23 01:56, Alan Modra wrote: > I think you'd be better off staying with just one format, and > bfd_archive probably fits pdb files better than bfd_object. Thanks Alan. But `add-symbol-file` is set up to accept object files - does this imply that I should change it to treat PDB archives as a special case? Mark