From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17587 invoked by alias); 22 Jul 2010 17:55:12 -0000 Received: (qmail 17578 invoked by uid 22791); 22 Jul 2010 17:55:11 -0000 X-SWARE-Spam-Status: No, hits=-1.9 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-px0-f169.google.com (HELO mail-px0-f169.google.com) (209.85.212.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 22 Jul 2010 17:55:05 +0000 Received: by pxi7 with SMTP id 7so7702476pxi.0 for ; Thu, 22 Jul 2010 10:55:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.164.3 with SMTP id m3mr2681318wfe.297.1279821303964; Thu, 22 Jul 2010 10:55:03 -0700 (PDT) Received: by 10.142.143.15 with HTTP; Thu, 22 Jul 2010 10:55:03 -0700 (PDT) In-Reply-To: <4C48800B.1030100@vmware.com> References: <4C487AD8.7030203@vmware.com> <4C487F33.1030807@vmware.com> <4C48800B.1030100@vmware.com> Date: Thu, 22 Jul 2010 17:55: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/msg00089.txt.bz2 How do people deal with running to a breakpoint that takes 10 minutes to get to? It would be great if I could run to the breakpoint once, save some info, and in the future just return to the breakpoint and keep running from there. On Thu, Jul 22, 2010 at 10:29 AM, Michael Snyder wrote: > None that I'm aware of, at least on Linux. > > Mathew Yeates wrote: >> >> bummer. Is there any way to do this? I assumed that the core file >> contained enough information to resume processing. >> >> >>>> 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." >>> >>> No, you can't resume running from a corefile. >>> >>>> =A0x86_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 in= fo >>>>>> usable =A0to someone. >>>>>> >>>>>> Mathew >>>>> >>>>> What signal do you believe your corefile should be reporting? >>>>> >>>>> What host and operating system are you running on? >>>>> >>> > >