From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by sourceware.org (Postfix) with ESMTPS id F2B773857C43 for ; Thu, 24 Nov 2022 12:02:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org F2B773857C43 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=scylladb.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=scylladb.com Received: by mail-wr1-x435.google.com with SMTP id cl5so2149791wrb.9 for ; Thu, 24 Nov 2022 04:02:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scylladb.com; s=google; h=mime-version:user-agent:date:to:from:subject:message-id:from:to:cc :subject:date:message-id:reply-to; bh=knGk8kXgfC2W/5P7PGnZqKrBtzO2nsWgow+cXjXzvzU=; b=P6ZRUizjGla2jNWorSXtLdAVegjVVzcdVfDnVGfc4b/L3QZZAvjBaG8ElTBn1A/xrt 84xRPzC3eXlOooxTb2Wh1lQzs6pGKf/Q3KobCeKkzA7MdcBeETyNhTnRN/22BamUmD68 Qn96tuXeh01/xyjWqWLRnIcRZjCguyVg0PpfpjHahzsAlCBuSp2pzh9vs3PPIDHAdvk3 fJscfipPFEljZdajyNgvQhw/Xt+eBHrGN6hRsoePgGR0dGIpKXO+k17C8FM8sx+rDrqx YxxF0oI5ffjQlWmmW8enAJdN8bnciNyJUzcB1fSHmB33ABU17bwnt1bTYzFFMDnHhULD BoIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:date:to:from:subject:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=knGk8kXgfC2W/5P7PGnZqKrBtzO2nsWgow+cXjXzvzU=; b=qRhhlr/EP904f6znW2bC17vb7duGiJomJECSEGzrO9sbGD2PjN8Cw67IIMot7gniib kRAm4En8wve/rcUdAnpMjBi2+YQQxCLg2t+JopyRVB9nqeH0H6ClOFrwDEXdisAbmV0S iWcM7e81KtbcnkHk6+qHc8b3VkJR8BqfVSMR2YWZOVGHbD5OxwcFgrcnpB1QKVEnB2xc rj57Njgy60Uy5NPE/BCm2+Ngi4ctdKM+FlZQx0vNpn4Fxw93kOwk1jqiZJTolYSQwiHf Cv9z2ykxp7ep+ABPcSVZQpAPB/DS/IIw4G2DP9eAQ8dDPwadjxdXIB0w+dwRw1eVAASd pdaw== X-Gm-Message-State: ANoB5pklaDqHzecG4IK5cYgYrhgdxzHk+cE8JeexqfNDmAR93EYAlrFx KVCmO/Dvr9Nem83bY47Mt/JLOa/s8oKOtUX57SdcaAVpki2wAmx6J+qHDBfZbHKbwO9nXKHGQu4 6VuUzLPdKiil56VppArxWdQ0s7f5iAtx3s69nE9sBDZQECSipgXslt1eWz/6aAVPsNozi+v+wv4 YlbO05dkJ5ROXntz2Y0yrSgHwGle7bmoPGdQ== X-Google-Smtp-Source: AA0mqf7oaNxlBO4Rgl+NYj5WdRfVcmQIdktt9tj4ZNqiAGFZ2v247RkFO1dfeScxnE1lKb2nM96uvw== X-Received: by 2002:a5d:66c8:0:b0:241:eabf:3b90 with SMTP id k8-20020a5d66c8000000b00241eabf3b90mr5238848wrw.31.1669291325068; Thu, 24 Nov 2022 04:02:05 -0800 (PST) Received: from avi.scylladb.com (system.cloudius-systems.com. [199.203.229.89]) by smtp.gmail.com with ESMTPSA id p13-20020a05600c358d00b003c6b9749505sm5928134wmq.30.2022.11.24.04.02.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Nov 2022 04:02:04 -0800 (PST) Message-ID: Subject: debuginfod vs libthread_db.so From: Avi Kivity To: gdb@sourceware.org Date: Thu, 24 Nov 2022 14:02:03 +0200 Content-Type: multipart/alternative; boundary="=-f3mYhtpEIYFqV+qwE9U0" User-Agent: Evolution 3.46.1 (3.46.1-1.fc37) MIME-Version: 1.0 X-CLOUD-SEC-AV-Sent: true X-CLOUD-SEC-AV-Info: scylladb,google_mail,monitor X-Gm-Spam: 0 X-Gm-Phishy: 0 X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --=-f3mYhtpEIYFqV+qwE9U0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable debuginfod is pretty nice, since it allows you to debug a core file generated on one system on another, without worrying about debug information, so long as you point your debuginfod settings in the right direction. However, will it work for libthread_db.so? If not, then this breaks down if the two systems use different libc versions that have incompatible libthread_db.so. (tangent: is it possible to express libthread_db.so code as DWARF expressions? if so it will be possible to get rid of libthread_db.so, by having libc encode accessors to thread information as some DWARF expressions, and teaching gdb to use those expressions instead of calling libthread_db.so) --=-f3mYhtpEIYFqV+qwE9U0--