From: Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
To: gdb-patches@sourceware.org
Cc: brobecker@adacore.com
Subject: [PATCH] testsuite: asm-source.exp: use 'sys_exit' on powerpc.inc
Date: Tue, 23 Nov 2010 18:46:00 -0000 [thread overview]
Message-ID: <1290537939-28990-1-git-send-email-emachado@linux.vnet.ibm.com> (raw)
In-Reply-To: <20101120053408.GQ2634@adacore.com>
With this patch, ppc32 uses 'sys_exit' sequence on gdbasm_exit0 macro.
Thanks,
--
Edjunior
gdb/testsuite/
2010-11-23 Edjunior Machado <emachado@br.ibm.com>
* powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
---
gdb/testsuite/gdb.asm/powerpc.inc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
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"
--
1.7.1
next prev parent reply other threads:[~2010-11-23 18:46 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-10 7:30 [PATCH] testsuite: asm-source.exp: add powerpc64 support Edjunior Barbosa Machado
2010-11-10 7:45 ` Mark Kettenis
2010-11-10 13:01 ` Edjunior Barbosa Machado
2010-11-20 5:34 ` Joel Brobecker
2010-11-23 18:44 ` Edjunior Barbosa Machado
2010-11-23 20:01 ` Joel Brobecker
2010-11-24 18:20 ` Thiago Jung Bauermann
2010-11-23 18:46 ` Edjunior Barbosa Machado [this message]
2010-11-24 18:22 ` [PATCH] testsuite: asm-source.exp: use 'sys_exit' on powerpc.inc Thiago Jung Bauermann
2010-11-25 11:23 ` Mark Kettenis
2010-11-25 13:56 ` Edjunior Barbosa Machado
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1290537939-28990-1-git-send-email-emachado@linux.vnet.ibm.com \
--to=emachado@linux.vnet.ibm.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox