From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sonic305-20.consmr.mail.ir2.yahoo.com (sonic305-20.consmr.mail.ir2.yahoo.com [77.238.177.82]) by sourceware.org (Postfix) with ESMTPS id 65C293858000 for ; Wed, 8 Feb 2023 16:28:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 65C293858000 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=yahoo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yahoo.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s2048; t=1675873729; bh=ltJ4gI64VhwCUaBi6kVmV9Q++NYUo0NNwel9uV6tsPs=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=fMQPxQukX/4iIs9J0KM2dOTRnagnD1GbcqzFMkd/SIv04u8RWHBotmIX07R1usGPXhB8c9RFTsltVXUmRUgM+5qhVo2nKUQWPmRLVMEt9NL9/Pr85znDW2NHgUeiKCwlRbgUEm9Cj7JUq/HwHJ6Kwd3j9KQjGD3myE4Bg/sZ8k7ehDsFqn1V4L+EhpGELwAU/UO2/QX1YX04Y8IQgVII/sOzOPiqmy9D0yFr+irYdyzZ8ZGnibBc7pwiDu2EOtTXGWVO9zDZDHeA82A+p0RbjCPl/CUh5bIGJdAaxKUDMkzVnIztVhlqCfaYfIPk4Gm+NTww5zIYZ41+HPlWs8dt7w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1675873729; bh=GyFXHXO0ud6eUkvKbPLw1YFEu/VcSmhQtINQzpxj9xT=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=GsObfPb2G7cy2aOCH6WpNWdrVp7TyHoILrI2uFFktgb5KVY/I/7gvb7RwsPpw/bZyzst1OBDbuPsKqtPOEHc7aXalpaBzmbPIPrE8DFLzlG9P52J70H5O+zFPNFYtMr4AdFglxp6F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fUtyWLE_lInNVckv79k3 W2BmMlkaW9ii4ffE63Krd3CMsvMpPg9v2fRtE8txAs4OT2Lnrroto29YAOSoDjMiEDHLTYSF1aml fkI_uS0Z5AprUZ6Mipcwl3UbRA737GJeYJdNX_hFeegZw1k.RZO4RfN8VdP7MaQoi5Op.A0xO0IF dr_OTYty3PkdYIy0i3QU94WOIRs3Jl1A8e5BTrktrF6dKGWHvzOZ7XNAWLyXnRcmXcFh6.2TIM_y iazT2lkqSpSyts.ecvHVRS.GNB6YsfKZXZHHZqC5JXzRjgKLaobVccfIGrF0.wtrOqXawfAmPRIr OrcbA3wuzpK.eEiG2tOv1DA-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ir2.yahoo.com with HTTP; Wed, 8 Feb 2023 16:28:49 +0000 Date: Wed, 8 Feb 2023 16:28:46 +0000 (UTC) From: Hannes Domani To: Simon Sobisch , Christian Biesinger Cc: Pedro Alves , "gdb@sourceware.org" Message-ID: <1732134213.367256.1675873726952@mail.yahoo.com> In-Reply-To: References: <87eba601-e753-02ac-0645-45c09377cac6@palves.net> <299ca968-412e-5e43-32d6-f0d136cec7bb@gnu.org> Subject: Re: Is corefile support for missing on Win32? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailer: WebService/1.1.21161 YMailNorrin X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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: Am Dienstag, 7. Februar 2023, 21:19:29 MEZ hat Christian Biesinger via Gdb Folgendes geschrieben: > On Tue, Feb 7, 2023 at 5:36 AM Simon Sobisch wrote: > > > > This is especially a call to Christian Biesinger to ask if there was any > > more work on "supporting minidump with GDB"; but there's more content > > "inline" in the text, too. > > Yes unfortunately I have not continued work on that branch. It is more > of a proof of concept at this point, most types of data are not > implemented yet, outside of registers and memory. > > I also did not love the way I integrated minidump support with the > rest of GDB. It was done as a new BFD target and converted minidump > info to ELF coredump-style in-memory sections. That's fine for memory > but feels awkward for register data... and possibly requires special > code for each arch/OS combination (e.g. amd64_linux_gregset_reg_offset > may be different from the Windows and Mac equivalent, and of course is > different from x86 and ARM) > > I haven't looked into mapping loaded DLLs and threads. > > Realistically this will need someone else to pick up this work, unless > I unexpectedly find myself with a large amount of free time. > > (Obviously this does not support PDB debug symbols, another project > that would be interesting to do. Perhaps it could use the Python > symbol support for which I saw patches go by the other week) > > In the meantime you may be interested in this tool: > https://chromium.googlesource.com/chromium/src.git/+/main/docs/linux/minidump_to_core.md I implemented minidump support for gdb some time ago. The main commits are these: https://github.com/ssbssa/gdb/compare/b4535a016c98a5a15622bbdcbcd845e3387413f5...8961acde2b6521f629ddaa1880ba312b998351eb Since I didn't know any better, I just put the code into coffgen.c, which was probably not a good idea. You can try it out with my builds here: https://github.com/ssbssa/gdb/releases Regards Hannes