2002-01-13 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
This commit is contained in:
parent
ade8f45eaf
commit
37ab3bf83d
@ -1,3 +1,7 @@
|
||||
2002-01-13 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
|
||||
|
||||
2002-01-10 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* gdb.c++/namespace.exp: Accept trailing const for 'this'.
|
||||
|
@ -656,8 +656,14 @@ gdb_expect {
|
||||
timeout { fail "(timeout) complete 'file ./Make'" }
|
||||
}
|
||||
|
||||
# ${srcdir} may be a relative path. We want to make sure we end up
|
||||
# in the right directory - so make sure we know where it is.
|
||||
set mydir [pwd]
|
||||
cd ${srcdir}
|
||||
set fullsrcdir [pwd]
|
||||
cd ${mydir}
|
||||
|
||||
gdb_test "cd ${srcdir}" "Working directory ${srcdir}.*" "cd to \${srcdir}"
|
||||
gdb_test "cd ${fullsrcdir}" "Working directory ${fullsrcdir}.*" "cd to \${srcdir}"
|
||||
send_gdb "file ./gdb.base/compl\t"
|
||||
sleep 1
|
||||
gdb_expect {
|
||||
|
Loading…
Reference in New Issue
Block a user