From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sa-prd-fep-045.btinternet.com (mailomta28-sa.btinternet.com [213.120.69.34]) by sourceware.org (Postfix) with ESMTPS id ADE033844049 for ; Fri, 3 Jul 2020 13:31:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org ADE033844049 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dronecode.org.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=jon.turney@dronecode.org.uk Received: from sa-prd-rgout-001.btmx-prd.synchronoss.net ([10.2.38.4]) by sa-prd-fep-045.btinternet.com with ESMTP id <20200703133100.JRYH4112.sa-prd-fep-045.btinternet.com@sa-prd-rgout-001.btmx-prd.synchronoss.net> for ; Fri, 3 Jul 2020 14:31:00 +0100 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com X-Originating-IP: [31.51.206.31] X-OWM-Source-IP: 31.51.206.31 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgeduiedrtdeigdeiiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpeetleffgeetieduueetheffveelvdfffeefkefghffhhedvhffghfetheetleetkeenucffohhmrghinheptgihghifihhnrdgtohhmnecukfhppeefuddrhedurddvtdeirdefudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddrudduudgnpdhinhgvthepfedurdehuddrvddtiedrfedupdhmrghilhhfrhhomhepoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqecuuefqffgjpeekuefkvffokffogfdprhgtphhtthhopeeoghgusgdqphgrthgthhgvshesshhouhhrtggvfigrrhgvrdhorhhgqe X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from [192.168.1.111] (31.51.206.31) by sa-prd-rgout-001.btmx-prd.synchronoss.net (5.8.340) (authenticated as jonturney@btinternet.com) id 5ED99EC90500D641 for gdb-patches@sourceware.org; Fri, 3 Jul 2020 14:31:00 +0100 Subject: Re: [PATCH 0/7] Add gdb support for Cygwin x86_64 core dumps To: gdb-patches@sourceware.org References: <20200701213225.14144-1-jon.turney@dronecode.org.uk> <87blkxzkem.fsf@tromey.com> From: Jon Turney Message-ID: <44ff5cd8-00fd-8f2d-3889-c06a46300a5c@dronecode.org.uk> Date: Fri, 3 Jul 2020 14:30:59 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <87blkxzkem.fsf@tromey.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, FORGED_SPF_HELO, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org 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: , X-List-Received-Date: Fri, 03 Jul 2020 13:31:03 -0000 On 02/07/2020 22:17, Tom Tromey wrote: >>>>>> "Jon" == Jon Turney writes: > > Jon> As far as I know, the only way to generate these "core dumps" is to use > Jon> Cygwin's 'dumper' tool, which requires some fixes on x86_64 [1]. > > Jon> [1] https://cygwin.com/pipermail/cygwin-patches/2020q3/010313.html > > Jon> Jon Turney (7): > Jon> Read tid from correct offset in win32pstatus NOTE_INFO_THREAD > Jon> Don't apply size constraint to all win32pstatus ELF notes. > Jon> Don't hardcode CONTEXT size for a NOTE_INFO_THREAD win32pstatus note > Jon> Add sniffer for Cygwin x86_64 core dumps > Jon> Add amd64_windows_gregset_reg_offset > Jon> Promote windows_core_xfer_shared_libraries and windows_core_pid_to_str > Jon> Add handling for 64-bit module addresses in Cygwin core dumps > > Jon> bfd/ChangeLog | 20 ++++++++ > Jon> bfd/elf.c | 25 +++++---- > > The BFD changes should be sent to the binutils list. Doh. I knew that. Sorry!