2009-09-08 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Tue, 8 Sep 2009 22:50:59 +0000 (22:50 +0000)
committerMichael Snyder <msnyder@vmware.com>
Tue, 8 Sep 2009 22:50:59 +0000 (22:50 +0000)
commit13b6d1d459210ab9ad250fc24df977bb1b178a3a
treef7b5981493bf455e986bcd1739d8896ae2084a35
parent6a89f575aaaf6f183620a91507e965205429a54a
2009-09-08  Michael Snyder  <msnyder@vmware.com>

* amd64-linux-tdep.h (enum amd64_syscall): New enum consts,
to replace literal consts used in amd64-linux-tdep.c
* linux-record.h (enum gdb_syscall): New enum consts, to replace
literal consts used in amd64-linux-tdep.c and linux-record.c.
* amd64-linux-tdep.c (amd64_canonicalize_syscall): New function,
translate from native amd64 Linux syscall id to internal gdb id.
(amd64_linux_syscall_record): Switch statement abstracted out
and replaced with a call to amd64_canonicalize_syscall.
* linux-record.c (record_linux_system_call): Replace literal
consts with enum consts.
* i386-linux-tdep.c (i386_canonicalize_syscall): New function,
trivially translate from native i386 Linux syscalls to gdb syscalls.
(i386_linux_intx80_sysenter_record):
gdb/ChangeLog
gdb/amd64-linux-tdep.c
gdb/amd64-linux-tdep.h
gdb/i386-linux-tdep.c
gdb/linux-record.c
gdb/linux-record.h
This page took 0.036667 seconds and 4 git commands to generate.