diff options
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/catch-syscall.exp | 9 |
2 files changed, 11 insertions, 4 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 8d2605f..1c8b947 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2013-08-22 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. + 2013-08-22 Tom Tromey <tromey@redhat.com> * lib/dwarf.exp (cu, tu): Handle addr_size of "default". Change diff --git a/gdb/testsuite/gdb.base/catch-syscall.exp b/gdb/testsuite/gdb.base/catch-syscall.exp index 395fcd4..1066caf 100644 --- a/gdb/testsuite/gdb.base/catch-syscall.exp +++ b/gdb/testsuite/gdb.base/catch-syscall.exp @@ -34,7 +34,7 @@ if {![istarget "hppa*-hp-hpux*"] && ![istarget "*-linux*"]} then { if { ![istarget "x86_64-*-linux*"] && ![istarget "i\[34567\]86-*-linux*"] && ![istarget "powerpc-*-linux*"] && ![istarget "powerpc64-*-linux*"] && ![istarget "sparc-*-linux*"] && ![istarget "sparc64-*-linux*"] - && ![istarget "mips*-linux*"] } { + && ![istarget "mips*-linux*"] && ![istarget "arm*-linux*"] } { continue } @@ -407,11 +407,12 @@ proc do_syscall_tests_without_xml {} { proc fill_all_syscalls_numbers {} { global all_syscalls_numbers - # For Linux on x86, PPC, PPC64, SPARC and SPARC64, the numbers for the syscalls - # "close" and "chroot" are the same. + # For Linux on x86, PPC, PPC64, SPARC, SPARC64 and ARM, + # the numbers for the syscalls "close" and "chroot" are the same. if { [istarget "i\[34567\]86-*-linux*"] || [istarget "powerpc-*-linux*"] || [istarget "powerpc64-*-linux*"] - || [istarget "sparc-*-linux*"] || [istarget "sparc64-*-linux*"] } { + || [istarget "sparc-*-linux*"] || [istarget "sparc64-*-linux*"] + || [istarget "arm*-linux*"] } { set all_syscalls_numbers { "6" "61" } } } |