reverse-debugging

Extract execution log from gdb record in a VirtualBox VM

荒凉一梦 提交于 2020-01-03 08:08:13
问题 I am attempting to use gdb's record feature to generate a list of the instructions executed for the tutorial example I can use gdb record to step forward and back successfully and save the execution log to a file using "record save". I think what I want to do is "record instruction-history" which from docs Disassembles instructions from the recorded execution log But when I attempt this i get the error: You can't do that when your target is 'record-full' Attempting to set the record target to

Extract execution log from gdb record in a VirtualBox VM

♀尐吖头ヾ 提交于 2020-01-03 08:08:08
问题 I am attempting to use gdb's record feature to generate a list of the instructions executed for the tutorial example I can use gdb record to step forward and back successfully and save the execution log to a file using "record save". I think what I want to do is "record instruction-history" which from docs Disassembles instructions from the recorded execution log But when I attempt this i get the error: You can't do that when your target is 'record-full' Attempting to set the record target to

GDB error: “Process record: the current architecture doesn't support record function”

强颜欢笑 提交于 2019-12-23 13:35:08
问题 I'm trying to do reverse execution in GDB, specifically doing target record after running my program in gdb as per the instructions here, and triggering the following error: Process record: the current architecture doesn't support record function. This seems to be the same issue discussed here but was never resolved. Here's my gdb version info: alexcannon$ gdb -version GNU gdb (GDB) 7.6 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu

Are there any open-source alternatives to ReplayDIRECTOR / Chronon Debugger?

被刻印的时光 ゝ 提交于 2019-12-20 08:55:55
问题 You may be familiar with ReplayDirector, http://www.replaysolutions.com/products/replaydirector-for-java-ee Chronon, http://www.chrononsystems.com/products/chronon-time-travelling-debugger they both advertise themselves as 'Java DVRs' - are there any open-source implementations that offer similar (even a subset of their) features? 回答1: The only ones I know of are WhyLine Not open source yet, but may eventually be, free download though Omniscient Debugger Jive Diver TOD 回答2: Omniscient

Are there any open-source alternatives to ReplayDIRECTOR / Chronon Debugger?

三世轮回 提交于 2019-12-02 17:17:32
You may be familiar with ReplayDirector, http://www.replaysolutions.com/products/replaydirector-for-java-ee Chronon, http://www.chrononsystems.com/products/chronon-time-travelling-debugger they both advertise themselves as 'Java DVRs' - are there any open-source implementations that offer similar (even a subset of their) features? The only ones I know of are WhyLine Not open source yet, but may eventually be, free download though Omniscient Debugger Jive Diver TOD Omniscient debuggers record the trace data to query afterwards. They are often also called reverse-, back-in-time, bidirectional-

reverse-step multithread error

◇◆丶佛笑我妖孽 提交于 2019-11-30 20:43:07
I get the following message in gdb (version 7.1): [Thread debugging using libthread_db enabled] and the command reverse-step results with the following error message: (gdb) reverse-step Target multi-thread does not support this command I am debugging a serial code right now, so I definitely do not need multi-threading. Can I turn this off somehow so that I get the latest reverse-debug commands to work? Also, if the code is parallelised with OpenMPI, there will be no need for multi-thread debugging at all, right? Edit: Is this set as a compilation flag that can be just excluded? You don't

reverse-step multithread error

感情迁移 提交于 2019-11-30 05:17:22
问题 I get the following message in gdb (version 7.1): [Thread debugging using libthread_db enabled] and the command reverse-step results with the following error message: (gdb) reverse-step Target multi-thread does not support this command I am debugging a serial code right now, so I definitely do not need multi-threading. Can I turn this off somehow so that I get the latest reverse-debug commands to work? Also, if the code is parallelised with OpenMPI, there will be no need for multi-thread

How do I enable reverse debugging on a multi-threaded program?

折月煮酒 提交于 2019-11-29 20:48:53
I'm trying to use the reverse debugging features of gdb 7.3.1 on a multi-threaded project (using libevent), but I get the following error: (gdb) reverse-step Target multi-thread does not support this command. From this question , I thought perhaps that it was an issue loading libthread_db but, when I run the program, gdb says: Starting program: /home/robb/slug/slug [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". How can I enable reverse debugging with gdb 7.3.1 on a multi-threaded project? Is it possible? Kevin To do this, you need to

How to run record instruction-history and function-call-history in GDB?

扶醉桌前 提交于 2019-11-29 04:17:56
(EDIT: per the first answer below the current "trick" seems to be using an Atom processor. But I hope some gdb guru can answer if this is a fundamental limitation, or whether there adding support for other processors is on the roadmap?) Reverse execution seems to be working in my environment: I can reverse-continue, see a plausible record log, and move around within it: (gdb) start ...Temporary breakpoint 5 at 0x8048460: file bang.cpp, line 13. Starting program: /home/thomasg/temp/./bang Temporary breakpoint 5, main () at bang.cpp:13 13 f(1000); (gdb) record (gdb) continue Continuing.

How do I enable reverse debugging on a multi-threaded program?

风流意气都作罢 提交于 2019-11-28 17:04:16
问题 I'm trying to use the reverse debugging features of gdb 7.3.1 on a multi-threaded project (using libevent), but I get the following error: (gdb) reverse-step Target multi-thread does not support this command. From this question, I thought perhaps that it was an issue loading libthread_db but, when I run the program, gdb says: Starting program: /home/robb/slug/slug [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". How can I enable reverse