2002-04-07 Elena Zannoni <ezannoni@redhat.com>

* gdb.asm/asm-source.exp: Build symbolic link to arch specific
        instructions file at run time instead of configure time.
        Sometimes we run the test in a directory that is not the one we
        configured in.
        * gdb.asm/configure.in: Delete creation of symlink.
        * gdb.asm/configure: Regenerate.
This commit is contained in:
Elena Zannoni
2002-04-07 23:57:23 +00:00
parent 7aa83cacfa
commit 16a8534aff
4 changed files with 33 additions and 83 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1998, 2000 Free Software Foundation, Inc.
# Copyright 1998, 2000, 2002 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -72,6 +72,10 @@ set binfile ${objdir}/${subdir}/${testfile}
set src1 ${srcdir}/${subdir}/asmsrc1.s
set src2 ${srcdir}/${subdir}/asmsrc2.s
set insn_file ${srcdir}/${subdir}/${asm-arch}.inc
remote_exec build "rm -f ${objdir}/${subdir}/arch.inc"
remote_exec build "ln -s ${insn_file} ${objdir}/${subdir}/arch.inc"
if { "${asm-flags}" == "" } {
#set asm-flags "-Wa,-gstabs,-I${srcdir}/${subdir},-I${objdir}/${subdir}"
set asm-flags "-gstabs -I${srcdir}/${subdir} -I${objdir}/${subdir}"