mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:22:56 +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>
|
||||
|
||||
* 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
|
||||
|
Reference in New Issue
Block a user