This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/3] Fix ppc64 single step over atomic sequence testcase
Hi Edjunior,
> I had the chance to test the patch and rewriting this in assembly
> does fixes the tests regardless of gcc version. However, the only
> "issue" I noticed was that it should be run inside the src directory,
> otherwise it will fail due to the asm .include's:
>
> spawn -ignore SIGHUP
> gcc ../../../gdb.git/gdb/testsuite/gdb.arch/ppc64-atomic-inst.s -g
> -lm
> -o /home/emachado/gdb/build/gdb/testsuite/gdb.arch/ppc64-atomic-inst^M ../../../gdb.git/gdb/testsuite/gdb.arch/ppc64-atomic-inst.s:
> Assembler
> messages:^M ../../../gdb.git/gdb/testsuite/gdb.arch/ppc64-atomic-inst.s:1:
> Error: can't open gdb.asm/common.inc for reading: No such file or
> directory^M ../../../gdb.git/gdb/testsuite/gdb.arch/ppc64-atomic-inst.s:2:
> Error: can't open gdb.asm/powerpc64.inc for reading: No such file or
> directory^M ../../../gdb.git/gdb/testsuite/gdb.arch/ppc64-atomic-inst.s:5:
> Error: Unrecognized opcode: `gdbasm_declare'^M
Thanks for testing. It looks like no one else is using the asm macros
outside of gdb.asm. Any suggestions? I'm only using one macro so I
could open code it I guess.
Anton