This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/16304] Process Record and Replay don't work for x32
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 19 Dec 2013 22:21:10 +0000
- Subject: [Bug gdb/16304] Process Record and Replay don't work for x32
- Auto-submitted: auto-generated
- References: <bug-16304-4717 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=16304
--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 8ee5199a42ae43b3a9b349640b8a0e2125ede34f (commit)
from 05c0465e16a5e2db92f8975aebf2bb5aacb1c542 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8ee5199a42ae43b3a9b349640b8a0e2125ede34f
commit 8ee5199a42ae43b3a9b349640b8a0e2125ede34f
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Dec 19 14:17:48 2013 -0800
Add amd64_x32_linux_record_tdep and amd64_x32_sys
X32 Linux system calls are diffferent from amd64 Linux system calls in
system call numbers as well as parameter types/values. This patch adds
amd64_x32_linux_record_tdep and amd64_x32_syscall for x32.
PR gdb/16304
* amd64-linux-tdep.c (amd64_canonicalize_syscall): Handle x32
system calls.
(amd64_x32_linux_record_tdep): New.
(amd64_linux_syscall_record_common): New function.
(amd64_linux_syscall_record): Call
amd64_linux_syscall_record_common with amd64_linux_record_tdep.
(amd64_x32_linux_syscall_record): Call
amd64_linux_syscall_record_common with
amd64_x32_linux_record_tdep.
(amd64_linux_init_abi_common): Move amd64_linux_record_tdep
initialization and tdep->i386_syscall_record setup to ...
(amd64_linux_init_abi): Here.
(amd64_x32_linux_init_abi): Initialize
amd64_x32_linux_record_tdep. Set tdep->i386_syscall_record to
amd64_x32_linux_syscall_record.
* amd64-linux-tdep.h (amd64_x32_syscall): New enum.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 20 ++
gdb/amd64-linux-tdep.c | 564 +++++++++++++++++++++++++++++++++++++++++++-----
gdb/amd64-linux-tdep.h | 280 ++++++++++++++++++++++++
3 files changed, 807 insertions(+), 57 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.