mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 13:56:22 +08:00
* gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
remote targets as well.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
|
||||||
|
|
||||||
|
* gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
|
||||||
|
remote targets as well.
|
||||||
|
|
||||||
2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
|
2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
|
||||||
|
|
||||||
* lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
|
* lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
|
||||||
|
@ -30,12 +30,6 @@ set execsrc "${srcdir}/${subdir}/${srcfile}"
|
|||||||
|
|
||||||
remote_exec build "rm -f ${binfile}"
|
remote_exec build "rm -f ${binfile}"
|
||||||
|
|
||||||
# Are we on a target board? No support for downloading shared libraries
|
|
||||||
# to a target yet.
|
|
||||||
if ![isnative] then {
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
# get the value of gcc_compiled
|
# get the value of gcc_compiled
|
||||||
if [get_compiler_info ${binfile}] {
|
if [get_compiler_info ${binfile}] {
|
||||||
return -1
|
return -1
|
||||||
@ -51,6 +45,7 @@ gdb_exit
|
|||||||
gdb_start
|
gdb_start
|
||||||
gdb_reinitialize_dir $srcdir/$subdir
|
gdb_reinitialize_dir $srcdir/$subdir
|
||||||
gdb_load ${binfile}
|
gdb_load ${binfile}
|
||||||
|
gdb_load_shlibs ${libobj}
|
||||||
|
|
||||||
if ![runto_main] then {
|
if ![runto_main] then {
|
||||||
fail "Can't run to main"
|
fail "Can't run to main"
|
||||||
|
Reference in New Issue
Block a user