From: Edjunior Barbosa Machado<emachado@linux.vnet.ibm.com>
Date: Wed, 10 Nov 2010 05:29:42 -0200
Hi,
this patch intents to add powerpc64 support to the asm-source.exp
testcase. It contains a new include file (powerpc64.inc) which
defines macros for ppc64 asm. As some architectures (like ppc64)
can have one or more instructions after the subroutine call, the
testcase was modified in order to expect the caller line again as
well as the next line when issuing "finish" or "return" (as
mentioned at http://sourceware.org/ml/gdb/2010-11/msg00032.html).
It also has other minor changes, such as expect '.' prefixing
ppc64's symbols and call 'sys_exit' sequence on gdbasm_exit0 macro
for ppc32.
Tested on x86, ppc32 and ppc64.
Is that ok?