gdb/testsuite/

* lib/gdb.exp (gdb_compile): Remove dead aix and irix related
	bits.
This commit is contained in:
Pedro Alves 2009-10-08 22:42:53 +00:00
parent 1800f484a2
commit 0413d7389a
2 changed files with 9 additions and 10 deletions

View File

@ -1,3 +1,8 @@
2009-10-08 Pedro Alves <pedro@codesourcery.com>
* lib/gdb.exp (gdb_compile): Remove dead aix and irix related
bits.
2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/hbreak.exp, gdb.base/hbreak.c: New.

View File

@ -1723,18 +1723,12 @@ proc gdb_compile {source dest type options} {
} else {
lappend source $shlib_name
}
if {$shlib_found == 0} {
if { $shlib_found == 0 } {
set shlib_found 1
if { ([test_compiler_info "gcc-*"]
&& ([istarget "powerpc*-*-aix*"]
|| [istarget "rs6000*-*-aix*"] )) } {
lappend options "additional_flags=-L${outdir}"
} elseif { [istarget "mips-sgi-irix*"] } {
lappend options "additional_flags=-rpath ${outdir}"
} elseif { ([istarget "*-*-mingw*"]
|| [istarget *-*-cygwin*]) } {
if { ([istarget "*-*-mingw*"]
|| [istarget *-*-cygwin*]) } {
lappend new_options "additional_flags=-Wl,--enable-auto-import"
}
}
}
} elseif { $opt == "shlib_load" } {
if { ([istarget "*-*-mingw*"]