delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/07/01/17:38:17

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5D81E3857007
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=dronecode.org.uk
Authentication-Results: sourceware.org;
spf=none smtp.mailfrom=jon DOT turney AT dronecode DOT org DOT uk
Authentication-Results: btinternet.com;
auth=pass (PLAIN) smtp.auth=jonturney AT btinternet DOT com
X-Originating-IP: [31.51.206.31]
X-OWM-Source-IP: 31.51.206.31 (GB)
X-OWM-Env-Sender: jonturney AT btinternet DOT com
X-VadeSecure-score: verdict=clean score=0/300, class=clean
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgeduiedrtddvgdduieeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpeeuiefhffdtgefhffeggfeuiedtgeelffdvlefhffejleevgfdujeehkeffudegjeenucffohhmrghinheptgihghifihhnrdgtohhmpdhsohhurhgtvgifrghrvgdrohhrghenucfkphepfedurdehuddrvddtiedrfedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurdduuddungdpihhnvghtpeefuddrhedurddvtdeirdefuddpmhgrihhlfhhrohhmpeeojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukhequceuqfffjgepkeeukffvoffkoffgpdhrtghpthhtohepoegthihgfihinhestgihghifihhnrdgtohhmqedprhgtphhtthhopeeomhgrrhhksehmrgigrhhnugdrtghomheq
X-RazorGate-Vade-Verdict: clean 0
X-RazorGate-Vade-Classification: clean
Subject: Re: gdb and core files
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <7e6b53dd-ef3d-e451-86f9-1a2c3d12209e AT cornell DOT edu>
<0acaf9fc-a490-78d3-9328-64e97d7eeb79 AT dronecode DOT org DOT uk>
<2a11eebe-d516-fb0a-e340-9619dc3b608f AT cornell DOT edu>
<f12fb23d-b98e-bbfe-86a7-eabd64e7db37 AT maxrnd DOT com>
From: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
Message-ID: <6595e2f2-0578-515a-a164-a10d692981cf@dronecode.org.uk>
Date: Wed, 1 Jul 2020 22:37:19 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.9.0
MIME-Version: 1.0
In-Reply-To: <f12fb23d-b98e-bbfe-86a7-eabd64e7db37@maxrnd.com>
X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, FORGED_SPF_HELO,
KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW,
RCVD_IN_MSPIKE_H2, 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: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Cc: Mark Geisert <mark AT maxrnd DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 061LboSf024559

On 30/06/2020 04:24, Mark Geisert wrote:
> Ken Brown via Cygwin wrote:
>> On 6/28/2020 9:31 AM, Jon Turney wrote:
>>> On 28/06/2020 01:50, Ken Brown via Cygwin wrote:
>>>> Following the instructions at 
>>>> https://cygwin.com/cygwin-ug-net/using-cygwinenv.html, I tried to 
>>>> create a core file that I could examine with gdb, but I apparently 
>>>> ran into a gdb bug. I tried both gdb 9.2-1 and 8.3.1-1.  Here are 
>>>> the results with 9.2-1.
>>>>
>>> [...]
>>>
>>> Unfortunately, I think dumper doesn't produce anything useful on 
>>> x86_64. See [1] et seq.
>>
>> Thanks.  Sorry I didn't notice that people had asked the same question 
>> before.
>>
>> We should probably fix the documentation:
>>
>>    https://cygwin.com/cygwin-ug-net/using-cygwinenv.html
>>    https://cygwin.com/cygwin-ug-net/dumper.html

Yeah, with hindsight, that would have been a good idea.

> I hesitate to comment when I can't immediately work on this, but, 
> ...making dumper work on 64-bit Cygwin is on my TODO list but not right 
> at the top.  It would be helpful to keep the program around in its 
> current 32-bit state as a template for 64-bit.

I had a poke at this problem this week.

[1] https://cygwin.com/pipermail/cygwin-patches/2020q3/010313.html
[2] https://sourceware.org/pipermail/gdb-patches/2020-July/170023.html

> P.S. For the long term, I think it was Jon who suggested dumper generate 
> Windows minidumps rather than the current Frankensteinish dumps.  I 
> intend to investigate that when I get to this project.

Not quite.  There's already a tool ('minidumper') to generate minidumps. 
  But gdb can't read those (yet).
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019