This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Process record and replay, 9/10
> Date: Sat, 8 Nov 2008 13:04:13 +0800
> From: teawater <teawater@gmail.com>
> Cc: gdb-patches@sourceware.org
>
> >> + these macros are gotten from Linux Kernel source. */
> >> +#define I386_RECORD_SIZE__old_kernel_stat 32
> >> +#define I386_RECORD_SIZE_tms 16
> >> +#define I386_RECORD_SIZE_loff_t 8
> >> +#define I386_RECORD_SIZE_flock 16
> >> +#define I386_RECORD_SIZE_oldold_utsname 45
> >> +#define I386_RECORD_SIZE_ustat 20
> >
> > Shouldn't this kind of database be in the XML files just posted in the
> > "catch syscall" thread?
> >
> This is the size of variables in the Linux Kernel. I set it special
> because sometime this variables for each arches are not same.
I understand that. I was asking whether we should store this
information in the same place where we store all the other info about
Linux system calls, not in the source.