forked from Imagelibrary/binutils-gdb
* lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2012-03-23 Doug Evans <dje@google.com>
|
||||
|
||||
* lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
|
||||
|
||||
2012-03-22 Siva Chandra Reddy <sivachandra@google.com>
|
||||
|
||||
* gdb.python/py-value.cc: Add test case for testing the
|
||||
|
||||
@@ -52,10 +52,13 @@ if ![info exists GDBFLAGS] {
|
||||
}
|
||||
verbose "using GDBFLAGS = $GDBFLAGS" 2
|
||||
|
||||
# Make the build data directory available to tests.
|
||||
set BUILD_DATA_DIRECTORY "[pwd]/../data-directory"
|
||||
|
||||
# INTERNAL_GDBFLAGS contains flags that the testsuite requires.
|
||||
global INTERNAL_GDBFLAGS
|
||||
if ![info exists INTERNAL_GDBFLAGS] {
|
||||
set INTERNAL_GDBFLAGS "-nw -nx -data-directory [pwd]/../data-directory"
|
||||
set INTERNAL_GDBFLAGS "-nw -nx -data-directory $BUILD_DATA_DIRECTORY"
|
||||
}
|
||||
|
||||
# The variable gdb_prompt is a regexp which matches the gdb prompt.
|
||||
|
||||
Reference in New Issue
Block a user