diff options
author | Pedro Alves <palves@redhat.com> | 2009-10-08 22:42:53 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2009-10-08 22:42:53 +0000 |
commit | 0413d7389a567648c56591d2e2f505a8df62baef (patch) | |
tree | b764ba38a020c6b06a49f74ce689282a051a5ec1 /gdb | |
parent | 1800f484a229ff74101376ba771a0c8fcf1483b7 (diff) | |
download | gdb-0413d7389a567648c56591d2e2f505a8df62baef.zip gdb-0413d7389a567648c56591d2e2f505a8df62baef.tar.gz gdb-0413d7389a567648c56591d2e2f505a8df62baef.tar.bz2 |
gdb/testsuite/
* lib/gdb.exp (gdb_compile): Remove dead aix and irix related
bits.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 14 |
2 files changed, 9 insertions, 10 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 57554e2..64f2189 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 4871494..3ac7305 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -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*"] |