aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@br.ibm.com>2010-11-24 18:06:18 +0000
committerThiago Jung Bauermann <bauerman@br.ibm.com>2010-11-24 18:06:18 +0000
commitf6df29bc29c8eb8ec95a14c0f96906ead96c4107 (patch)
tree00d71eeaaf6a4b0af593b895b3221df15e011d67 /gdb/testsuite/gdb.asm
parent2010-11-24 Edjunior Machado <emachado@br.ibm.com> (diff)
downloadbinutils-gdb-f6df29bc29c8eb8ec95a14c0f96906ead96c4107.tar.gz
binutils-gdb-f6df29bc29c8eb8ec95a14c0f96906ead96c4107.tar.bz2
binutils-gdb-f6df29bc29c8eb8ec95a14c0f96906ead96c4107.zip
2010-11-24 Edjunior Machado <emachado@br.ibm.com>
* gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
Diffstat (limited to 'gdb/testsuite/gdb.asm')
-rw-r--r--gdb/testsuite/gdb.asm/powerpc.inc6
1 files changed, 3 insertions, 3 deletions
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"