From: Masaki Muranaka <monaka@monami-software.com>
To: gdb-patches@sourceware.org
Subject: [patch] failed to build sim/ppc on OSX.
Date: Sun, 31 Jan 2010 17:07:00 -0000 [thread overview]
Message-ID: <5D76F873-1960-49BC-AF83-321D4F099424@monami-software.com> (raw)
Hello maintainers,
I failed to build sim/ppc on OSX with a warning.
I think this issue is occurred not only OSX.
Thanks,
sim/ppc/ChangeLog
2010-01-31 Masaki Muranaka <monaka@monami-software.com>
* interrupts.c (alignement_interrupt): Add type cast.
diff --git a/sim/ppc/interrupts.c b/sim/ppc/interrupts.c
index dafb2b3..f9e6efc 100644
--- a/sim/ppc/interrupts.c
+++ b/sim/ppc/interrupts.c
@@ -263,7 +263,7 @@ alignment_interrupt(cpu *processor,
case USER_ENVIRONMENT:
case VIRTUAL_ENVIRONMENT:
- cpu_error(processor, cia, "alignment interrupt - ra=0x%lx", ra);
+ cpu_error(processor, cia, "alignment interrupt - ra=0x%lx", (unsigned long)ra);
case OPERATING_ENVIRONMENT:
DAR = (spreg)ra;
next reply other threads:[~2010-01-31 17:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-31 17:07 Masaki Muranaka [this message]
2010-02-01 7:32 ` Joel Brobecker
2010-02-01 9:10 ` Masaki Muranaka
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=5D76F873-1960-49BC-AF83-321D4F099424@monami-software.com \
--to=monaka@monami-software.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