* lib/gdb.exp (current_target_name): New procedure.
authorDaniel Jacobowitz <drow@false.org>
Fri, 13 Nov 2009 22:51:59 +0000 (22:51 +0000)
committerDaniel Jacobowitz <drow@false.org>
Fri, 13 Nov 2009 22:51:59 +0000 (22:51 +0000)
commitf6838f814769c627c1d61f6905f69f704b334af6
tree129ca75344bbe92851cba1ebbc6bf13a2e8cbf5c
parent21327321a021139f296b93cc844cc562b38b7c93
* lib/gdb.exp (current_target_name): New procedure.
(gdb_wrapper_target): New variable.
(gdb_wrapper_init): Set gdb_wrapper_target.
(default_gdb_init): Check gdb_wrapper_target before rebuilding the
wrapper.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp