Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [patch] failed to build sim/ppc on OSX.
@ 2010-01-31 17:07 Masaki Muranaka
  2010-02-01  7:32 ` Joel Brobecker
  0 siblings, 1 reply; 3+ messages in thread
From: Masaki Muranaka @ 2010-01-31 17:07 UTC (permalink / raw)
  To: gdb-patches

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;


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-01  9:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-31 17:07 [patch] failed to build sim/ppc on OSX Masaki Muranaka
2010-02-01  7:32 ` Joel Brobecker
2010-02-01  9:10   ` Masaki Muranaka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox