diff options
author | Hui Zhu <teawater@gmail.com> | 2009-05-22 14:15:20 +0000 |
---|---|---|
committer | Hui Zhu <teawater@gmail.com> | 2009-05-22 14:15:20 +0000 |
commit | b34fab9a49490d6c8641f7f7c234b48b1d04b9ed (patch) | |
tree | c8e49d22da8f84eb7f77919298cf0f69876fb585 /gdb | |
parent | 50ef67b36b1d2c7d0963c93cae32bc2b32ddc15a (diff) | |
download | gdb-b34fab9a49490d6c8641f7f7c234b48b1d04b9ed.zip gdb-b34fab9a49490d6c8641f7f7c234b48b1d04b9ed.tar.gz gdb-b34fab9a49490d6c8641f7f7c234b48b1d04b9ed.tar.bz2 |
Add sys_fcntl argument interfaces to linux_record_tdep.
* linux-record.h (linux_record_tdep): Add fcntl_F_GETLK,
fcntl_F_GETLK64, fcntl_F_SETLK64 and fcntl_F_SETLKW64 to be
interfaces.
* i386-linux-tdep.c (I386_LINUX_RECORD_FCNTL_F_GETLK,
I386_LINUX_RECORD_FCNTL_F_GETLK64,
I386_LINUX_RECORD_FCNTL_F_SETLK64,
I386_LINUX_RECORD_FCNTL_F_SETLKW64): New macros. The values
of I386 Linux sys_fcntl arguments.
(i386_linux_init_abi): Set macros values to linux_record_tdep.
* linux-record.c (record_linux_system_call): Change to use
the interface in linux_record_tdep in sys_fcntl and
sys_fcntl64.
* linux-record.c (record_linux_system_call): Fix the process
record build error about type in CYGWIN.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1d9bf34..68dea2f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,23 @@ +2009-05-22 Hui Zhu <teawater@gmail.com> + + Add sys_fcntl argument interfaces to linux_record_tdep. + + * linux-record.h (linux_record_tdep): Add fcntl_F_GETLK, + fcntl_F_GETLK64, fcntl_F_SETLK64 and fcntl_F_SETLKW64 to be + interfaces. + * i386-linux-tdep.c (I386_LINUX_RECORD_FCNTL_F_GETLK, + I386_LINUX_RECORD_FCNTL_F_GETLK64, + I386_LINUX_RECORD_FCNTL_F_SETLK64, + I386_LINUX_RECORD_FCNTL_F_SETLKW64): New macros. The values + of I386 Linux sys_fcntl arguments. + (i386_linux_init_abi): Set macros values to linux_record_tdep. + * linux-record.c (record_linux_system_call): Change to use + the interface in linux_record_tdep in sys_fcntl and + sys_fcntl64. + + * linux-record.c (record_linux_system_call): Fix the process + record build error about type in CYGWIN. + 2009-05-22 Pedro Alves <pedro@codesourcery.com> * inflow.c (kill_command): Delete left over static declaration. |