* gdb.base/fullname.exp: Restore pwd if compiling failed.
This commit is contained in:
parent
0cd63f3d26
commit
a4a9b1c4f2
|
@ -1,3 +1,7 @@
|
|||
2008-07-09 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* gdb.base/fullname.exp: Restore pwd if compiling failed.
|
||||
|
||||
2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
|
||||
|
|
|
@ -104,6 +104,7 @@ if { [gdb_breakpoint ${objdir}/${subdir}/tmp-${srcfile}:${line} {no-message}] !=
|
|||
set save_pwd [pwd]
|
||||
cd ${subdir}
|
||||
if { [gdb_compile "tmp-${srcfile}" "${testfile}" executable {debug}] != "" } {
|
||||
cd $save_pwd
|
||||
return -1
|
||||
}
|
||||
cd $save_pwd
|
||||
|
|
Loading…
Reference in New Issue