From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29618 invoked by alias); 22 Jul 2010 17:16:47 -0000 Received: (qmail 29397 invoked by uid 22791); 22 Jul 2010 17:16:43 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-pv0-f169.google.com (HELO mail-pv0-f169.google.com) (74.125.83.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 22 Jul 2010 17:16:39 +0000 Received: by pvc30 with SMTP id 30so7397715pvc.0 for ; Thu, 22 Jul 2010 10:16:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.141.8 with SMTP id o8mr1651557wfd.53.1279818997554; Thu, 22 Jul 2010 10:16:37 -0700 (PDT) Received: by 10.142.143.15 with HTTP; Thu, 22 Jul 2010 10:16:37 -0700 (PDT) In-Reply-To: <4C487AD8.7030203@vmware.com> References: <4C487AD8.7030203@vmware.com> Date: Thu, 22 Jul 2010 17:16:00 -0000 Message-ID: Subject: Re: help with loading core files From: Mathew Yeates To: Michael Snyder Cc: "gdb@sourceware.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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: 2010-07/txt/msg00085.txt.bz2 I'm not sure about your first question. 1) I run my program in the debugger and go to a particular line 2) I generate a core file with generate-core-file 3) I exit gdb 4) I run gdb myexecutable mycorefile Shouldn't I be able to continue my program from here? Instead, I get "Program terminated with signal 5, Trace/breakpoint trap" And I can't continue because I get "The program is not being run." x86_64 x86_64 x86_64 GNU/Linux On Thu, Jul 22, 2010 at 10:07 AM, Michael Snyder wrote: > Mathew Yeates wrote: >> >> Hi >> I posted something about this earlier and I now have time to try and >> figure this out. >> When I run gdb myexe mycore >> I get >> Program terminated with signal 5, Trace/breakpoint trap. >> >> This is gdb-7.2.50.20100713. >> >> Any ideas for me to try? I'm no gdb guru but maybe I can generate info >> usable =A0to someone. >> >> Mathew > > What signal do you believe your corefile should be reporting? > > What host and operating system are you running on? >