2010-11-24 Edjunior Machado <emachado@br.ibm.com>

* gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
This commit is contained in:
Thiago Jung Bauermann 2010-11-24 18:06:18 +00:00
parent f2b5a5cf6f
commit f6df29bc29
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
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 `.'

View File

@ -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"