From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id qFwBOzQRfWcECQYAWB0awg (envelope-from ) for ; Tue, 07 Jan 2025 06:34:12 -0500 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=G4FqOKhV; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id EE57B1E0C0; Tue, 7 Jan 2025 06:34:12 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=unavailable autolearn_force=no version=4.0.0 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 8AA341E05C for ; Tue, 7 Jan 2025 06:34:12 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2F8D13858C32 for ; Tue, 7 Jan 2025 11:34:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2F8D13858C32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1736249652; bh=HsLjFZfbf7/Y6+uOmxt1tv9ANt3bU8HsoJTWwYj0JR4=; h=References:In-Reply-To:Date:Subject:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=G4FqOKhVccDBaSwysoX7QBq0CrZNHO9kzYe+xMZeD+rKJb2ZsU/WvY+pKipNekt9n WgUGZeaO9IGUXVzJ1Ohbsp3OtIy4TpwCfynlx7yszpI1f6IVC7W7Pt3tcZ1xzJ8NVB gnioQStAToy8KClOeqG2Q6kpKtiScYnxxswlV4+w= Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by sourceware.org (Postfix) with ESMTPS id E18F93858D29 for ; Tue, 7 Jan 2025 11:33:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E18F93858D29 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E18F93858D29 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736249606; cv=none; b=tOBOZca34lEctwMC/nEFAlnZsO4362O6zGZ1+kppcKS14hc0woCFW//SLFikSH+JKhkYctXBc8R58T2QyTtY/ci1EcFpIq9IwUkmKom/wE/geXTTWeIHo5fSn8dk5DmZDWVC0SeDQfl+pzlzrYuN/c9jsj3UnA4RmsHvnxUNhzg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736249606; c=relaxed/simple; bh=bMHdNl90Ew5QRxjNpa4USJHPbotXMzj7CcBhzaJcRHQ=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=p+hKYDDNyPKNZ3YVtLGydaU4TjC2boc6H0IW10A1/t8TeKY0Qjq451JAAuzY4EVHSmAiP18GTxnfAUscV9OXwoX+Fkm2nZQWnymmv7q9YNzK9FaBuxhoU9nAuGIFUeCXC9sMSjiKkGMxz2EGtOOWHl8Gy3ny13rDeuKu6yt2v8k= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E18F93858D29 Received: by mail-pj1-x102a.google.com with SMTP id 98e67ed59e1d1-2efb17478adso22267605a91.1 for ; Tue, 07 Jan 2025 03:33:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736249605; x=1736854405; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ggPY3iylTMDMhKF2kAC86JYhtUrcaJoIRIcw3WxKp5Y=; b=Wqo2hj/WWTRoUej1a9XtkOnDBMf9/cVzHr2+mpHPdO7030oUluZY0diGBIaDWhWeW2 FC7KVRZUoZypUxlKETxZXDfWPPmeHuQxexPbCdyc4HfY2tDUsMGh+5tTXiWEZhUQPiJJ Wse8ogLvZ1iqQGOIJ/YHyeQshafqJbX06/zT9g3ap1DpVBhWv8RCoG1ABJbWGcZ8YcB9 bXx6l2xRY0ryU5fOI7W3JCT/FleLpE3X+VAzWXNrT//7LzUe5sFyeXydz2vgpQHQFGlA S2Fw5jW1XAci1toGxJgFPVzcaADjibEJ308AhbhfZIv4JlT/iASRpJpuqhJWldvHstqV YFUA== X-Gm-Message-State: AOJu0YwcmwiFX5QOdbMGnAok2OE0Mhc/BJO0XSckxplcXL3E36R4jN5D MCuInJW0OW9q+eZLbRqnmnTiv6J+EgQhdO+7RmPUnfToL8CUEnzpkHYUoOwxlfUzX7zUVJ7Ukdw zK85LskJUmnFb/p3/gfDXkqzWN2CxuBdg2mJB X-Gm-Gg: ASbGnctjpKZGMMQw7DgeljH3/CT+rh/UtOVpHIMnhMHSJ4yoUlzJQr+Z1/ki4JInf2l WQhuMkQ2wAJIDi0devNOYf5bdepp298wLnMc= X-Google-Smtp-Source: AGHT+IEH0subfCrWtPdCJK6/4N8O+Lv0EFbjnk9VEumEDhsRDcKL9Xy/eCACD2ekYEe1IHs+KondWCl2h6w84gK0CqA= X-Received: by 2002:a17:90b:2e50:b0:2ea:7cd5:4ad6 with SMTP id 98e67ed59e1d1-2f452eeda66mr83467115a91.32.1736249604529; Tue, 07 Jan 2025 03:33:24 -0800 (PST) MIME-Version: 1.0 References: <48d24318-27d8-4cae-bfdc-64a8828c6f75@arm.com> In-Reply-To: <48d24318-27d8-4cae-bfdc-64a8828c6f75@arm.com> Date: Tue, 7 Jan 2025 19:33:13 +0800 X-Gm-Features: AbW1kvY17wsXcvJ0aMt4aSvNpaSkz0p8p-0-F8eObFdRmwDEIVCbDvPTtGjM-sk Message-ID: Subject: Re: parallel loading of debug info in gdb To: Luis Machado Cc: gdb@sourceware.org, Tom Tromey Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Yubin via Gdb Reply-To: Yubin Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" On Tue, Jan 7, 2025 at 7:08=E2=80=AFPM Luis Machado = wrote: > On 1/7/25 02:14, Yubin via Gdb wrote: > > Hi, > > > > Does gdb supports parallel loading of debug symbols? I am debugging som= e > > binary which is 3~4GB itself, and loading and parsing its debug info > takes > > minutes. > > Since a few years, gdb has had worker threads, potentially as many as cor= es > (physical or virtual) on the system. > > So it does support trying to read things in parallel. Unfortunately the > nature of the data limits things somewhat, as you have dependencies and > have > to look those up before proceeding further. > Yes dependency is a problem, but some dependent libs are naturally independent to be read by parallel. If there could be some way to specify this, it would be great. > I've cc-ed Tromey, which worked in this area before. > Thanks. Yubin