From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 106305 invoked by alias); 10 Oct 2019 22:20:30 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 106103 invoked by uid 89); 10 Oct 2019 22:20:29 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=Csaba, raduly, Raduly, clue X-HELO: smtp-out-so.shaw.ca Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.137) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 10 Oct 2019 22:20:28 +0000 Received: from [192.168.1.114] ([24.64.172.44]) by shaw.ca with ESMTP id IgnJixcOQSrVcIgnKiA2XT; Thu, 10 Oct 2019 16:20:26 -0600 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: assert creates unusable core dump on current stable Cygwin release To: cygwin@cygwin.com References: <2300fe24-fc50-3d1c-6b1b-bf6da6022d2e@SystematicSw.ab.ca> <71be3508-b11e-4681-eac6-9d44845088c7@SystematicSw.ab.ca> <1ac90af2-412d-345f-da40-8260ae527096@dronecode.org.uk> From: Brian Inglis Openpgp: preference=signencrypt Message-ID: <380e89cb-4e31-4af2-40ca-c143e6622424@SystematicSw.ab.ca> Date: Thu, 10 Oct 2019 22:20:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-10/txt/msg00060.txt.bz2 On 2019-10-10 14:57, Csaba Raduly wrote: > On Thu, Oct 10, 2019 at 9:19 PM Jon Turney wrote: >> (and I guess this patch is not acceptable as-is, as it looks like it >> would break x86) > That was my reaction too. Obviously there would have to be some arch dependent conditional changes, but I was hoping that someone with a clue about libbfd, could provide some hints as to where else to look for more info on what other changes might be required, or confirmation that this is object oriented enough to mainly just work with some additional tweaks. I also found out, and found a mailing list post that confirmed, that gdb gcore also does not work to generate a core image on Windows, as that was my next place to look. So it looks like gdb gcore for x86 could be implemented by adding the dumper code. The question is where to ask or look to figure out what Windows x86_64 needs over what Windows x86 needs, and add that to both gdb gcore and dumper, as gdb seems to handle debugging and debuginfo fine. If this could be derived from say, Cygwin ld libbfd calls, or the diffs between x86 and x86_64 ld.bfd calls, or nm, objcopy, objdump etc. diffs, I could look at doing that. I'm not sure I'd want to have to understand in detail how Windows puts its exes together to get started. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple