From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2796 invoked by alias); 21 Jan 2014 15:37:02 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 2763 invoked by uid 48); 21 Jan 2014 15:37:01 -0000 From: "ben.cohen at kognitio dot com" To: gdb-prs@sourceware.org Subject: [Bug corefiles/11579] RFE: backtrace core without any symfile_objfile Date: Tue, 21 Jan 2014 15:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: corefiles X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ben.cohen at kognitio dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 7.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q1/txt/msg00080.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=11579 Ben Cohen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ben.cohen at kognitio dot com --- Comment #2 from Ben Cohen --- This would also be very useful when you get a core file from a user but don't have a copy of the exact library binaries that were running. I wrote a program for 32-bit x86 that can take such a core file where coredump_filter was set as you describe and produce minimal libraries containing CFI that gdb can use to unwind correctly. See my email to the gdb mailing list at the link below for full details and source code. https://sourceware.org/ml/gdb/2013-05/msg00136.html However, this is clumsy and it would be much neater if gdb could do it automatically. I'd be interested in adding this to gdb myself if someone could provide some hints as to where to start. -- You are receiving this mail because: You are on the CC list for the bug.