mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 11:39:26 +08:00
* gdb.base/fullname.exp: Restore pwd if compiling failed.
This commit is contained in:
@ -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>
|
2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
* gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
|
* 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]
|
set save_pwd [pwd]
|
||||||
cd ${subdir}
|
cd ${subdir}
|
||||||
if { [gdb_compile "tmp-${srcfile}" "${testfile}" executable {debug}] != "" } {
|
if { [gdb_compile "tmp-${srcfile}" "${testfile}" executable {debug}] != "" } {
|
||||||
|
cd $save_pwd
|
||||||
return -1
|
return -1
|
||||||
}
|
}
|
||||||
cd $save_pwd
|
cd $save_pwd
|
||||||
|
Reference in New Issue
Block a user