This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: gdb.asm/asm-source.exp creation of arch.inc doesn't work for relative ${srcdir}
On Fri, Apr 19, 2002 at 12:06:24PM -0400, Elena Zannoni wrote:
> Daniel Jacobowitz writes:
> > On Tue, Apr 16, 2002 at 10:31:32AM -0400, Elena Zannoni wrote:
>
> > >
> > > -set insn_file ${srcdir}/${subdir}/${asm-arch}.inc
> > > -remote_exec build "rm -f ${objdir}/${subdir}/arch.inc"
> >
> > Please don't delete this line. If you remote_download onto a dangling
> > symlink, you get an error. I don't know what happens if you remote
> > download onto a normal symlink, but it runs a risk of clobbering
> > something in ${srcdir}.
> >
>
> Actually there would be no symlink at all after this patch.
> But I'll leave the line in anyway, just in case.
Thanks. There will be no symlink unless you're using an object
directory that predates the patch, which I was when I tried it.
> This is what I checked in:
>
> 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
>
> * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
> instruction file directly into the build tree. Clean up at end of
> test.
Thanks!
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer