diff options
author | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2010-11-24 18:06:18 +0000 |
---|---|---|
committer | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2010-11-24 18:06:18 +0000 |
commit | f6df29bc29c8eb8ec95a14c0f96906ead96c4107 (patch) | |
tree | 00d71eeaaf6a4b0af593b895b3221df15e011d67 /gdb/testsuite | |
parent | f2b5a5cf6f08cdf6733c8ab2d8780026a853a823 (diff) | |
download | gdb-f6df29bc29c8eb8ec95a14c0f96906ead96c4107.zip gdb-f6df29bc29c8eb8ec95a14c0f96906ead96c4107.tar.gz gdb-f6df29bc29c8eb8ec95a14c0f96906ead96c4107.tar.bz2 |
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')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.asm/powerpc.inc | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 3418f76..ab3c3a7 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 a0797bf..ab700c2 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" |