This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Process record and reverse debugging
- From: Anthony Green <green at moxielogic dot com>
- To: gdb at sourceware dot org
- Date: Sat, 25 Jul 2009 12:16:29 -0400
- Subject: Process record and reverse debugging
I've been using the process record feature for reverse debugging my
linux kernel bring-up: http://moxielogic.org/blog/?p=310
While I have found it useful, it would be nice if there was some way to
coalesce the "undo" records for certain functions. For instance,
memset calls can generate a lot of records but they're usually not
interesting from a debugging perspective. I'm not sure the best way to
handle this, but it seems like you could special-case some well known
functions and treat them the same way system calls are handled.
AG