From: Thiago Jung Bauermann Date: Wed, 24 Nov 2010 18:06:18 +0000 (+0000) Subject: 2010-11-24 Edjunior Machado X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f6df29bc29c8eb8ec95a14c0f96906ead96c4107;p=binutils-gdb.git 2010-11-24 Edjunior Machado * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 3418f76263c..ab3c3a7a572 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2010-11-24 Edjunior Machado + + * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro. + 2010-11-24 Edjunior Machado * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.' diff --git a/gdb/testsuite/gdb.asm/powerpc.inc b/gdb/testsuite/gdb.asm/powerpc.inc index a0797bf826b..ab700c27682 100644 --- a/gdb/testsuite/gdb.asm/powerpc.inc +++ b/gdb/testsuite/gdb.asm/powerpc.inc @@ -29,9 +29,9 @@ comment "exit (0)" .macro gdbasm_exit0 - comment "Don't know how to exit, but this will certainly halt..." - li 0, 0 - lwz 0, 0(0) + comment "sys_exit" + li 0, 1 + sc .endm comment "crt0 startup"