[Committing the `catch syscall' patch for ARM, from Samuel Bronson.]
authorSergio Durigan Junior <sergiodj@redhat.com>
Thu, 22 Aug 2013 20:32:54 +0000 (20:32 +0000)
committerSergio Durigan Junior <sergiodj@redhat.com>
Thu, 22 Aug 2013 20:32:54 +0000 (20:32 +0000)
commit9f948660082197e73991d4d0db07030420c33e45
treee315922fd0a016cf8f350026411d6ea1b83fd030
parentf69a2f978fdcffafa9fe4c4a5b3b2b1af61698ba
[Committing the `catch syscall' patch for ARM, from Samuel Bronson.]

This time, it passes all the tests and comes with a nearly complete
XML file (plus a script that can nearly regenerate the XML file).

(I elected to leave out __ARM_NR_cmpxchg, since it has dire warnings
to the effect that the only pieces of code that should be aware of it
are the implementation and the __kuser_cmpxchg code in entry-armv.S.)

gdb/
2013-08-14  Samuel Bronson  <naesten@gmail.com>

ARM Linux support for `catch syscall'.
* syscalls/arm-linux.py: New file.
* syscalls/arm-linux.xml: Likewise.
* arm-linux-tdep.c (arm_linux_get_syscall_number): New function.
(arm_linux_init_abi): Register the new function and syscall xml file.
* data-directory/Makefile.in: Install the new syscall xml file.
* NEWS: Brag about this.

gdb/testsuite/
2013-08-14  Samuel Bronson  <naesten@gmail.com>

ARM Linux support for `catch syscall'.
* gdb.base/catch-syscall.exp: Test this on ARM now.
(fill_all_syscalls_numbers): ARM has close/chroot on 6/61, too.
gdb/ChangeLog
gdb/NEWS
gdb/arm-linux-tdep.c
gdb/data-directory/Makefile.in
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/catch-syscall.exp