From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1768 invoked by alias); 9 Nov 2004 21:22:45 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 1730 invoked from network); 9 Nov 2004 21:22:39 -0000 Received: from unknown (HELO wiesinger.com) (212.186.124.96) by sourceware.org with SMTP; 9 Nov 2004 21:22:39 -0000 Received: from bbs.intern (localhost [127.0.0.1]) by wiesinger.com (8.12.10/8.12.10) with ESMTP id iA9LMYNf008828 for ; Tue, 9 Nov 2004 22:22:34 +0100 Received: from localhost (gerhard@localhost) by bbs.intern (8.12.10/8.12.10/Submit) with ESMTP id iA9LMYL9008824 for ; Tue, 9 Nov 2004 22:22:34 +0100 Date: Tue, 09 Nov 2004 21:22:00 -0000 From: Gerhard Wiesinger To: gcc-help@gcc.gnu.org Subject: gcc optimized stripped build with debug info Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-MailScanner-Information-wiesinger.com: See www.mailscanner.info for information X-MailScanner-wiesinger.com: Found to be clean X-MailScanner-From: lists@wiesinger.com X-SW-Source: 2004-11/txt/msg00035.txt.bz2 Hello! I'm looking for the following: I want to build a optimized build (-O2) and want in the case of a core dump to analyze the core dump with some debug information. So it looks like the following: 1.) Optimized stripped build in the field 2.) A core is generated 3.) The core is analyzed with the executable and some debugging information file to get a pretty stacktrace. How can this be achieved? Thank you for the answer. Ciao, Gerhard