From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 116252 invoked by alias); 7 Feb 2019 04:08:44 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 116218 invoked by uid 89); 7 Feb 2019 04:08:43 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*f:sk:cover.1, H*f:sk:c725e2e, H*f:sk:ecba343, H*f:sk:6f24b81 X-HELO: smtp.polymtl.ca Received: from smtp.polymtl.ca (HELO smtp.polymtl.ca) (132.207.4.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 07 Feb 2019 04:08:42 +0000 Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id x1748Z7x025212 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 6 Feb 2019 23:08:40 -0500 Received: by simark.ca (Postfix, from userid 112) id 5B2651E882; Wed, 6 Feb 2019 23:08:35 -0500 (EST) Received: from simark.ca (localhost [127.0.0.1]) by simark.ca (Postfix) with ESMTP id D4AF51E472; Wed, 6 Feb 2019 23:08:33 -0500 (EST) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_483a849202ea359c87110aae641397ae" Date: Thu, 07 Feb 2019 04:08:00 -0000 From: Simon Marchi To: John Baldwin Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 3/9] Handle TLS variable lookups when using separate debug object files. In-Reply-To: <67973931006085a171ad69952649de33@polymtl.ca> References: <6f24b813adb0155b499d6e2265a6f15a2db4e6ca.1548180889.git.jhb@FreeBSD.org> <27bfe45d3ccba5f52d2e3632da417000@polymtl.ca> <10dfaac6-0119-4f9f-666d-89fe7d8fb6cb@FreeBSD.org> <67973931006085a171ad69952649de33@polymtl.ca> Message-ID: <41502b0fa1b9fc368c05d328ba176fd5@polymtl.ca> X-Sender: simon.marchi@polymtl.ca User-Agent: Roundcube Webmail/1.3.6 X-IsSubscribed: yes X-SW-Source: 2019-02/txt/msg00049.txt.bz2 --=_483a849202ea359c87110aae641397ae Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Content-length: 425 On 2019-02-06 23:05, Simon Marchi wrote: > I have not yet found the motivation to write a proper test for this > (in particular, I am not sure how to build the lib with separate debug > info in the testsuite). But I attached a reproducer for future > reference. You should just need to "make" and "gdb -x run.gdb". The > wrong value is printed with today's GDB. And of course I forgot the attachment... here it is. Simon --=_483a849202ea359c87110aae641397ae Content-Transfer-Encoding: base64 Content-Type: application/x-gzip; name=shared-lib-tls-test-2.tgz Content-Disposition: attachment; filename=shared-lib-tls-test-2.tgz; size=700 Content-length: 952 H4sIAAAAAAAAA+2YW2vbMBTH81p9ikPXUQcqz3dDu+5hG5TAto7tYS+F4NhK osW1giS3lLLvPsnKxV2zpg/GY1S/hzg6OrpYR3/7yGKecVLgkk6wLAWWREgc vBl0iqdI41hf/TT2mrIfRc11xcAPoyBJg8BP0oGqDIJwAHG309hNLWTGAQaC Xmd88ZQf4aKPCfWL2Bn/64xWbt7VGDrAiYn3zvgHQbyOv596ap/4ceilA/C6 msBTvPD4v6JVXtYFgbdCFpS583cIbWyHU6YshwipNZI0h/FYzjnJCqCVBL1H xmrPwDlE0RlCyoa0zblhtBiie4QAllxZp47uB2ihPF8XV9XhCcyIHCvbmBbO cHimHDmRNa/A8VTpF/rXi/KC2K1/HffO5L9X/34YbvUfNPr3o8Tqvw+ep3Wj Va301Ci9pWBwtNg3EjZGq+L/hL/rf97ZGPv07wXJVv+h1+hfuVn998BDLZt3 95mV7otht/4/ZwsypSXpZox9+teaX5//PKP/xOq/H7KyPG1SeVBbQD/2BUNN Gm+sLmvZD2Z5DpgZ91Ut/uQCLnV+j3+UJxjzZSbn51dHR5ffRhejL4CXJo0w nbps1W2+6ixfFQHPQsCXXst/M+6pzinc7fCbCsBm95r6bdMDNvmZs+UdYMyq 8g4vCFnigkzqWavt5p/b1LQbCcnpowZth6wo8KyqjUtJq8X5H721mzW9tVe3 ma25qe0yNCXA06+jD601yEuSVafogF+rqvWSm7t9GLNHt/Pc+O/WP68rd1ZM Otpje/P/JGh9/2n0H6Wx1X8f6Kd8s5d03s+lOvzD9zm7FepMD3QKFx/fAxUw 4WxB1PF8feY/hpusrMnwRB0ItBuVcMv4QoBj8ohjsXJAzRcAcNTP0FTZ3MJi sVgsFovFYrFYLBaLxWLpjd95WFg3ACgAAA== --=_483a849202ea359c87110aae641397ae--