gdb: Add sparc*-*-linux catch syscall support.
authorDavid S. Miller <davem@redhat.com>
Wed, 24 Feb 2010 15:14:31 +0000 (15:14 +0000)
committerDavid S. Miller <davem@redhat.com>
Wed, 24 Feb 2010 15:14:31 +0000 (15:14 +0000)
commit09de9781bdd949cdd00adec6e0693a0d79d70463
treef013dfddf91d156bb093b2521f4c5fa0090f194d
parentc060226ad07dc40da26ecf8483a911cf3f18cb81
gdb: Add sparc*-*-linux catch syscall support.

2010-02-24  David S. Miller  <davem@davemloft.net>

* gdb_ptrace.h (PT_SYSCALL): If PTRACE_SYSCALL is available, use it.
* syscalls/sparc-linux.xml: New.
* syscalls/sparc64-linux.xml: New.
* Makefile.in (XML_SYSCALL_FILES): Add new syscall XML files.
* sparc-linux-tdep.c (XML_SYSCALL_FILENAME_SPARC32): Define.
(sparc32_linux_get_syscall_number): New function.
(sparc32_linux_init_abi): Set syscall XML file name and hook up
syscall number fetcher.
* sparc64-linux-tdep.c (XML_SYSCALL_FILENAME_SPARC64): Define.
(sparc64_linux_get_syscall_number): New function.
(sparc64_linux_init_abi): Set syscall XML file name and hook up
syscall number fetcher.
gdb/ChangeLog
gdb/Makefile.in
gdb/gdb_ptrace.h
gdb/sparc-linux-tdep.c
gdb/sparc64-linux-tdep.c
gdb/syscalls/sparc-linux.xml [new file with mode: 0644]
gdb/syscalls/sparc64-linux.xml [new file with mode: 0644]