This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: help with loading core files


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 <msnyder@vmware.com> 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.
>>>
>>>> ?x86_64 x86_64 x86_64 GNU/Linux
>>>>
>>>>
>>>> On Thu, Jul 22, 2010 at 10:07 AM, Michael Snyder <msnyder@vmware.com>
>>>> 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 ?to someone.
>>>>>>
>>>>>> Mathew
>>>>>
>>>>> What signal do you believe your corefile should be reporting?
>>>>>
>>>>> What host and operating system are you running on?
>>>>>
>>>
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]