This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog gdbarch.c gdbarch.h gdbarch. ...
- From: msnyder at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 1 Oct 2008 04:23:32 -0000
- Subject: src/gdb ChangeLog gdbarch.c gdbarch.h gdbarch. ...
CVSROOT: /cvs/src
Module name: src
Branch: reverse-20080930-branch
Changes by: msnyder@sourceware.org 2008-10-01 04:23:32
Modified files:
gdb : ChangeLog gdbarch.c gdbarch.h gdbarch.sh
i386-tdep.c i386-tdep.h i386-linux-tdep.c
Log message:
2008-09-30 Hui Zhu <teawater@gmail.com>
Add process record and replay to i386 architecture.
* i386-linux-tdep.c (linux_record_tdep): New static variable.
I386 Linux record target-dependent stuff.
(i386_linux_intx80_sysenter_record): New function. Record the
running message of I386 Linux system call.
(i386_linux_init_ab): Initialize the linux_record_tdep. Add
i386_linux_intx80_sysenter_record to struct tdep.
* i386-tdep.c (i386_record_modrm, i386_record_lea_modrm_addr,
i386_record_lea_modrm, i386_record): New functions. Record the
running message of I386 instruction.
(i386_gdbarch_init): Add i386_record to struct gdbarch.
* i386-tdep.h (gdbarch_tdep): Add elements "i386_intx80_record"
and "i386_sysenter_record" to be the interfaces that record the
running message of instruction "intx80" and "sysenter".
* gdbarch.sh: Change process_record and process_record_dasm
to multi-arch model.
* gdbarch.c, gdbarch.h: Regenerate.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=reverse-20080930-branch&r1=1.9859.2.7&r2=1.9859.2.8
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbarch.c.diff?cvsroot=src&only_with_tag=reverse-20080930-branch&r1=1.438.2.1&r2=1.438.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbarch.h.diff?cvsroot=src&only_with_tag=reverse-20080930-branch&r1=1.389.2.1&r2=1.389.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbarch.sh.diff?cvsroot=src&only_with_tag=reverse-20080930-branch&r1=1.479.2.1&r2=1.479.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/i386-tdep.c.diff?cvsroot=src&only_with_tag=reverse-20080930-branch&r1=1.266&r2=1.266.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/i386-tdep.h.diff?cvsroot=src&only_with_tag=reverse-20080930-branch&r1=1.55&r2=1.55.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/i386-linux-tdep.c.diff?cvsroot=src&only_with_tag=reverse-20080930-branch&r1=1.58&r2=1.58.6.1