From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8888 invoked from network); 9 Feb 2022 12:23:33 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 9 Feb 2022 12:23:33 -0000 Received: (qmail 1625 invoked by uid 550); 9 Feb 2022 12:23:29 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 28343 invoked from network); 9 Feb 2022 07:32:33 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=Kn8rFzShxCQOqDivu0RoEVBvrUCaPj6JvJYR8BMPGqw=; b=AAhjRTfXHEpFyxjr8fJ34Z1sg0qud/Zl6n0+PbHTF/YUPro/lZ6dph5ZfKCuuuhyyF p9MwG1AgaIUWNpjqhJGVP368SgrOkh+YLsH/rQj2hxvJcWtYOCHAUsfP9po+vbc9/M1s aEGT2/zIh2wDHms57Lr/sYA0m30dTs1I3PeWJQpnreLuKH6BNPCA7AUmVmBB7HI7Hrav lstF+KNxFv9hs1qcu3IJhZh19v+vHHvJT7kZfrw6gTM2MD/rlroluHiL3XAEZlikxBqR /tmifua2I4BNPMVfCR6xjJf3yRtbHbmkOlqMQ/1MYQNmSfcCAEWHeGX9Pqo9wH1UYrGe 1etg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Kn8rFzShxCQOqDivu0RoEVBvrUCaPj6JvJYR8BMPGqw=; b=u81/n8G175LdmdIvOtAqkBNdop9cVKfUL/PW8Q3RdauhNVwmk83lfrPd16n6SkqSvo FkxSrF5dA+tPCjodvYShcmVNjGXAJOgRwz08ZFnmF3HuVsif+8fZCVHppK1aKZ5IAQ4f TQTHfYBkj2atrV/tNp4htVFaJhkesERz1Yu1r09zSL1jVU7YSBc+/hQRWQHdFyCvFvfH swwUHXTGaRpy1/kgrkTObqtVltUxm6M12ikkw7xl5a224icVrBrADhXbipTA7zuOIGqM k+1deCZCypVkn9OpTxgZ78M7T6mJLt1cWY9UGl+HJcz7d0MbkGao32ae13YPQ00WCIk7 tkBg== X-Gm-Message-State: AOAM533CBr/QmYsvJwJwhZInAjAtaIQE70AQu6eEyA0Pk18M4yeucu9T dekekMKPkaBlSeBC/LFnV9Gzn3FEC2HSp2ws5jqhbBl5Ie5D1Q== X-Google-Smtp-Source: ABdhPJwNXpcPFCDkAvelSLuEkz3o4b5IMIbyRXNVRaopgxglSK3tn/pY5YDMe1V/IbjOfi3nECviv9/v5mzsuXGKdPk= X-Received: by 2002:a5e:dd09:: with SMTP id t9mr478658iop.207.1644391941173; Tue, 08 Feb 2022 23:32:21 -0800 (PST) MIME-Version: 1.0 From: Yehuda Yitchak Date: Wed, 9 Feb 2022 09:32:10 +0200 Message-ID: To: musl@lists.openwall.com Content-Type: multipart/alternative; boundary="00000000000086772c05d790d588" Subject: [musl] Accessing Thread-Local-Storage in GDB --00000000000086772c05d790d588 Content-Type: text/plain; charset="UTF-8" Hello one of the applications i am debugging is compiled using MUSL libc (aarch64) Version 1.1.19 when i inspect a core-dump and try to view TLS variables with "print __percpu_dev" gdb (v8.3) complains: Cannot find thread-local storage for LWP 22873, executable file Cannot find thread-local variables on this target Any idea how I can overcome this? Appreciate if you could CC me since i'm not subscribed. Thanks Yehuda --00000000000086772c05d790d588 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello

one of the application= s i am debugging is compiled using MUSL libc (aarch64) Version 1.1.19
when i inspect a core-dump and try to view TLS variables with &quo= t;print __percpu_dev" gdb (v8.3) complains:

Cannot find thread-= local storage for LWP 22873, executable file <core-dump-file>
Cann= ot find thread-local variables on this target

= Any idea how I can overcome this?
Appreciate if you could CC = me since i'm not subscribed.

Thanks
Yehuda
--00000000000086772c05d790d588--