This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: System call support in reversible debugging
- From: "Jakob Engblom" <jakob at virtutech dot com>
- To: "'Sean Chen'" <sean dot chen1234 at gmail dot com>, "'Hui Zhu'" <teawater at gmail dot com>
- Cc: <gdb at sourceware dot org>
- Date: Tue, 1 Dec 2009 12:32:19 +0100
- Subject: RE: System call support in reversible debugging
- References: <5e81cb500911262231g57f693dwc885576172e016e1@mail.gmail.com> <daef60380911270004p52c53a54k53ddab9c639db066@mail.gmail.com> <5e81cb500911270711wb99d531i111d064f05ef03b4@mail.gmail.com> <daef60380911270716r44fe2efcr79930beacc1f38ed@mail.gmail.com> <5e81cb500911270742j546062f2jca7441a912ffad87@mail.gmail.com> <4B10154F.7070902@vmware.com> <5e81cb500911271745t1a119520l4944919d2139e8ae@mail.gmail.com> <4B11607C.7000500@vmware.com> <daef60380911300427p20b2e9bege4087bbcd18bc82a@mail.gmail.com> <5e81cb500911300539r52e8be5dva54d32c734978021@mail.gmail.com>
> Hi Michael and Hui,
>
> I am sorry for my late response.
>
> Thanks for your explanation. So we can?t treat the system calls as a
> black box and have to understand the detailed implementation of each
> system call. I think we need to understand every lines of the code in
> the system calls carefully enough, and care about the difference of
> the Linux kernel since the code of system calls might change
> frequently. Do we have any good ways to do it?
To really do this right, you should use a full-system simulator that lets you
debug OS and user code at the same time, as it is attacking the system at the
hardware/software interface level.
As long as you attack a program as a user-level problem only, you cannot debug
into the kernel, as the process record facilities are built on kernel features
that only apply to user-level programs. As I understand it.
Both VmWare and Virtutech offer solutions for this that you can drive over
gdb-serial, in reverse when needed.
Best regards,
/jakob
_______________________________________________________
Jakob Engblom, PhD, Technical Marketing Manager
Virtutech?????????????????? Direct: +46 8 690 07 47???
Drottningholmsvägen 22????? Mobile: +46 709 242 646??
11243 Stockholm???????????? Web:??? www.virtutech.com?
Sweden
________________________________________________________
?