[RFA] Submit process record and replay fourth time, 0/8

Hui Zhu
2009-03-21T15:58:44Z

[-- Attachment #1: Type: text/plain, Size: 1580 bytes --]

Hi guys,

After third time submit, there are a lot of change with process record
and replay. So I submit fourth time to make it clear to review.

For this time, Most of changes were updated follow cvs head and a lot
of format fixes. Patch for target.c was removed. Record.c was
updated a lot of parts according to the ideas of Pedro (Much
appreciated).
Thanks for help of everybody in the maillist.

Process record and replay make gdb can record inferior execute log and
replay (include reverse debug).
Now, it support I386-Linux single-thread inferior native debug.

I've divided this patch into eight sections, for ease of review.
They group as:
1) Architecture support layer (gdbarch.sh, gdbarch.c, gbarch.h).
2) New stratum of strata in target layer (target.h).
3) Process record and replay target (record.c, record.h, Makefile.in).
4) Process record and replay for Linux (linux-record.c,
linux-record.h, Makefile.in, configure.tgt).
5) Event handling (infrun.c).
6) Intel 386 target-dependent stuff (i386-tdep.c, i386-tdep.h).
7) Target-dependent code for GNU/Linux i386 (i386-linux-tdep.c).
8) User interface and documentation.

For the NEWS:
* Process record and replay

In a architecture environment that supports ``process record and
replay'', ``process record and replay'' target can record a log of
the process execution, and replay it with both forward and reverse
execute commands.

These patches be tested with testsuite gdb.twreverse in branch
reverse-20081226-branch.

Attachment is the compressed patches package to make get all patches easy.

Thanks,
Hui

[-- Attachment #2: prec40.tar.bz2 --]
[-- Type: application/x-bzip2, Size: 25119 bytes --]