summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@br.ibm.com>2010-11-24 18:06:17 +0000
committerThiago Jung Bauermann <bauerman@br.ibm.com>2010-11-24 18:06:17 +0000
commite055e88cae3798e2d6b0f8e701ca2e7146d92cc9 (patch)
tree689bc8f9c32c4d67f971e808a0a3798576e1ff34 /gdb
parent5f23ff1059b86f13a502e8bf7a4c3aab124dd3b0 (diff)
downloadgdb-e055e88cae3798e2d6b0f8e701ca2e7146d92cc9.tar.gz
2010-11-24 Edjunior Machado <emachado@br.ibm.com>
* gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.asm/powerpc.inc6
2 files changed, 7 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 3418f76263c..ab3c3a7a572 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2010-11-24 Edjunior Machado <emachado@br.ibm.com>
+ * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
+
+2010-11-24 Edjunior Machado <emachado@br.ibm.com>
+
* gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
on ppc64's symbols; "finish" and "return" commands must accept to
show the caller line again as well as the line after.
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"