views:

465

answers:

3

Has anyone tried using the new record/replay and reverse-debugging features in the newly released gdb-7.0? I am one of the gdb developer/maintainers, and I'm very eager for user feedback!

+2  A: 

Hi I tried it briefly. It make life a lot easier for the cases where either I screwed up some thing while debugging or for run-many-times-find-me bugs

Hari
+1  A: 

Well, there is now a tutorial to help you get started: http://www.sourceware.org/gdb/wiki/ProcessRecord/Tutorial

Michael Snyder
A: 

This definitely deserved more attention -- the reverse debugging feature ROCK FREAKING HARD. No sweat. Great work!

For a practical real-world use (and a problem with reverse-debugging), see

http://stackoverflow.com/questions/3333689/in-gdb-how-to-find-out-who-malloced-an-address-on-the-heap/3337579#3337579

(Problem: it doesn't seem to support any IO (printf(), etc.) which makes it practically useless.

kizzx2