[PATCH 1/3] Fix ppc64 single step over atomic sequence testcase

Joel Brobecker brobecker@adacore.com
Fri Sep 28 10:16:00 GMT 2012


> > Can you just add -I${srcdir}/${subdir} to the compilation flags,
> > and then .include "common.inc" instead of gdb.arch/common.inc?
> 
> Sorry for taking so long to respond. I tried that but srcdir wasn't an
> absolute path so it failed. Using the existing asm macro was only
> saving us a couple of lines so how about we just open code it?

I'd rather not. I know it's only a few lines, but I'm sure these files
are there for a reason.

I think it might have failed because ${srcdir}/${subdir} wasn't
the right path. Your testcase is in gdb.arch, so I am guessing
that subdir was "gdb.arch". However, your include file is in gdb.asm.
So instead, use -I${srcdir}/gdb.asm instead.

-- 
Joel



More information about the Gdb-patches mailing list