From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16515 invoked by alias); 10 Mar 2008 15:24:33 -0000 Received: (qmail 16507 invoked by uid 22791); 10 Mar 2008 15:24:33 -0000 X-Spam-Check-By: sourceware.org Received: from el-out-1112.google.com (HELO el-out-1112.google.com) (209.85.162.179) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 10 Mar 2008 15:24:15 +0000 Received: by el-out-1112.google.com with SMTP id z25so1066642ele.0 for ; Mon, 10 Mar 2008 08:24:13 -0700 (PDT) Received: by 10.114.198.1 with SMTP id v1mr3751041waf.89.1205162652446; Mon, 10 Mar 2008 08:24:12 -0700 (PDT) Received: by 10.115.72.11 with HTTP; Mon, 10 Mar 2008 08:24:12 -0700 (PDT) Message-ID: <4024fa2d0803100824t788d284cq438043063335c750@mail.gmail.com> Date: Mon, 10 Mar 2008 15:45:00 -0000 From: "Taras D" To: gdb@sourceware.org Subject: stack trace and breaking before crash In-Reply-To: <4024fa2d0803100747g289cf2abl248dbc80b007356a@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4024fa2d0803100747g289cf2abl248dbc80b007356a@mail.gmail.com> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-03/txt/msg00103.txt.bz2 Hi everyone, I have two questions: 1) A program that crashes is writing a stack trace. However, the stack trace is in heaxadecimal. Is there anyway of replacing the hexadecimal numbers with symbols? 2) Is it possible to get gdb to break before the program crashes? In VS 2003, the program breaks execution before the crash allowing inspection of the stack/variables/etc. The exception I'm getting is: Exception: STATUS_ACCESS_VIOLATION at eip=610AE0E9. I've tried typing in bt after the crash occurs but the output doesn't seem to be a stack trace of the running program. I'm running gdb on cygwin. Thanks Taras