From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sa-prd-fep-048.btinternet.com (mailomta21-sa.btinternet.com [213.120.69.27]) by sourceware.org (Postfix) with ESMTPS id 3F90A3857007 for ; Wed, 1 Jul 2020 21:32:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3F90A3857007 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-048.btinternet.com with ESMTP id <20200701213240.DLUN4139.sa-prd-fep-048.btinternet.com@sa-prd-rgout-001.btmx-prd.synchronoss.net>; Wed, 1 Jul 2020 22:32:40 +0100 Authentication-Results: btinternet.com; auth=pass (LOGIN) 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: gggruggvucftvghtrhhoucdtuddrgeduiedrtddvgdduieehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecunecujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpeetteeijeeuuddtiefhhffhlefhffeuveekhedvhfefudeghedtheegveefhfeifeenucffohhmrghinheptgihghifihhnrdgtohhmnecukfhppeefuddrhedurddvtdeirdefudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopehlohgtrghlhhhoshhtrdhlohgtrghlughomhgrihhnpdhinhgvthepfedurdehuddrvddtiedrfedupdhmrghilhhfrhhomhepoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqedprhgtphhtthhopeeoghgusgdqphgrthgthhgvshesshhouhhrtggvfigrrhgvrdhorhhgqedprhgtphhtthhopeeojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukheq X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from localhost.localdomain (31.51.206.31) by sa-prd-rgout-001.btmx-prd.synchronoss.net (5.8.340) (authenticated as jonturney@btinternet.com) id 5ED99EC904BFF895; Wed, 1 Jul 2020 22:32:40 +0100 From: Jon Turney To: gdb-patches@sourceware.org Cc: Jon Turney Subject: [PATCH 0/7] Add gdb support for Cygwin x86_64 core dumps Date: Wed, 1 Jul 2020 22:32:18 +0100 Message-Id: <20200701213225.14144-1-jon.turney@dronecode.org.uk> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.0 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: Wed, 01 Jul 2020 21:32:42 -0000 As far as I know, the only way to generate these "core dumps" is to use Cygwin's 'dumper' tool, which requires some fixes on x86_64 [1]. [1] https://cygwin.com/pipermail/cygwin-patches/2020q3/010313.html Jon Turney (7): Read tid from correct offset in win32pstatus NOTE_INFO_THREAD Don't apply size constraint to all win32pstatus ELF notes. Don't hardcode CONTEXT size for a NOTE_INFO_THREAD win32pstatus note Add sniffer for Cygwin x86_64 core dumps Add amd64_windows_gregset_reg_offset Promote windows_core_xfer_shared_libraries and windows_core_pid_to_str Add handling for 64-bit module addresses in Cygwin core dumps bfd/ChangeLog | 20 ++++++++ bfd/elf.c | 25 +++++---- gdb/ChangeLog | 23 +++++++++ gdb/amd64-windows-tdep.c | 100 ++++++++++++++++++++++++++++++++++++ gdb/i386-windows-tdep.c | 100 +----------------------------------- gdb/windows-tdep.c | 108 +++++++++++++++++++++++++++++++++++++++ gdb/windows-tdep.h | 8 +++ 7 files changed, 276 insertions(+), 108 deletions(-) -- 2.27.0