aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/catch-syscall.exp
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-10-06 16:02:45 +0000
committerDoug Evans <dje@google.com>2010-10-06 16:02:45 +0000
commitaa2e2d8d772c0ece5b6c4685228c159979841a5d (patch)
tree619b99d7200be5fd22e4d5639feea95af652843b /gdb/testsuite/gdb.base/catch-syscall.exp
parentaa27d0b360a0709329fe9b0c39de6bffcf2af7f3 (diff)
downloadgdb-aa2e2d8d772c0ece5b6c4685228c159979841a5d.zip
gdb-aa2e2d8d772c0ece5b6c4685228c159979841a5d.tar.gz
gdb-aa2e2d8d772c0ece5b6c4685228c159979841a5d.tar.bz2
Create subdir data-directory.
* Makefile.in (XML_SYSCALL_DIR, XML_SYSCALL_FILES): Moved to data-directory/Makefile.in. (SUBDIRS): Add data-directory. (all): Remove xml-syscall-copy dependency. (xml-syscall-copy): Moved to data-directory/Makefile.in as stamp-syscalls. (xml-syscall-install): Moved to data-directory/Makefile.in as install-syscalls. (install-only): Remove xml-syscall-install dependency. (all-data-directory): New rule. (data-directory/Makefile): New rule. * configure.ac (AC_OUTPUT): Add data-directory/Makefile. * configure: Regenerate. * data-directory/Makefile.in: New file. * python/lib/gdb/__init__.py: New file. testsuite/ * gdb.base/catch-syscall.exp (do_syscall_tests): Update location of syscall staging area.
Diffstat (limited to 'gdb/testsuite/gdb.base/catch-syscall.exp')
-rw-r--r--gdb/testsuite/gdb.base/catch-syscall.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/catch-syscall.exp b/gdb/testsuite/gdb.base/catch-syscall.exp
index 2d9cad4..7845655 100644
--- a/gdb/testsuite/gdb.base/catch-syscall.exp
+++ b/gdb/testsuite/gdb.base/catch-syscall.exp
@@ -278,7 +278,7 @@ proc do_syscall_tests {} {
global gdb_prompt srcdir
# First, we need to set GDB datadir.
- gdb_test_no_output "set data-directory $srcdir/.."
+ gdb_test_no_output "set data-directory [pwd]/../data-directory"
# Verify that the 'catch syscall' help is available
set thistest "help catch syscall"