Blame gdb-dejagnu-go.patch
|
Jan Kratochvil |
f8eee05 |
http://sourceware.org/ml/gdb-patches/2012-06/msg00050.html
|
|
Jan Kratochvil |
f8eee05 |
Subject: [patch] dejagnu compat. - missing find_go_linker [Re: [patch, doc RFA] Go language support]
|
|
Jan Kratochvil |
f8eee05 |
|
|
Jan Kratochvil |
f8eee05 |
On Wed, 25 Apr 2012 04:17:35 +0200, Doug Evans wrote:
|
|
Jan Kratochvil |
f8eee05 |
> +if {[info procs find_go_linker] == ""} {
|
|
Jan Kratochvil |
f8eee05 |
> + rename gdb_find_go find_go
|
|
Jan Kratochvil |
f8eee05 |
> + rename gdb_find_go_linker find_go_linker
|
|
Jan Kratochvil |
f8eee05 |
> + # No need to set use_gdb_compile.
|
|
Jan Kratochvil |
f8eee05 |
> +}
|
|
Jan Kratochvil |
f8eee05 |
|
|
Jan Kratochvil |
f8eee05 |
Is there a reason for it? With recent Fedora 17 update
|
|
Jan Kratochvil |
f8eee05 |
https://bugzilla.redhat.com/show_bug.cgi?id=635651
|
|
Jan Kratochvil |
f8eee05 |
|
|
Jan Kratochvil |
f8eee05 |
dejagnu has started to support 'find_gfortran'. But it still does not support
|
|
Jan Kratochvil |
f8eee05 |
'find_go_linker'. This has resulted in regression failing to compile any
|
|
Jan Kratochvil |
f8eee05 |
gdb.go/*.exp files.
|
|
Jan Kratochvil |
f8eee05 |
|
|
Jan Kratochvil |
f8eee05 |
|
|
Jan Kratochvil |
f8eee05 |
Thanks,
|
|
Jan Kratochvil |
f8eee05 |
Jan
|
|
Jan Kratochvil |
f8eee05 |
|
|
Jan Kratochvil |
f8eee05 |
|
|
Jan Kratochvil |
f8eee05 |
gdb/testsuite/
|
|
Jan Kratochvil |
f8eee05 |
2012-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
Jan Kratochvil |
f8eee05 |
|
|
Jan Kratochvil |
f8eee05 |
* lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
|
|
Jan Kratochvil |
f8eee05 |
missing.
|
|
Jan Kratochvil |
f8eee05 |
|
|
Jan Kratochvil |
f8eee05 |
diff --git a/gdb/testsuite/lib/future.exp b/gdb/testsuite/lib/future.exp
|
|
Jan Kratochvil |
f8eee05 |
index 40456c0..bf47988 100644
|
|
Jan Kratochvil |
f8eee05 |
--- a/gdb/testsuite/lib/future.exp
|
|
Jan Kratochvil |
f8eee05 |
+++ b/gdb/testsuite/lib/future.exp
|
|
Jan Kratochvil |
f8eee05 |
@@ -514,7 +514,7 @@ if {[info procs find_gfortran] == ""} {
|
|
Jan Kratochvil |
f8eee05 |
if {[info procs find_go_linker] == ""} {
|
|
Jan Kratochvil |
f8eee05 |
rename gdb_find_go find_go
|
|
Jan Kratochvil |
f8eee05 |
rename gdb_find_go_linker find_go_linker
|
|
Jan Kratochvil |
f8eee05 |
- # No need to set use_gdb_compile.
|
|
Jan Kratochvil |
f8eee05 |
+ set use_gdb_compile 1
|
|
Jan Kratochvil |
f8eee05 |
}
|
|
Jan Kratochvil |
f8eee05 |
|
|
Jan Kratochvil |
f8eee05 |
if {$use_gdb_compile} {
|
|
Jan Kratochvil |
f8eee05 |
|