From: jkratoch Date: Fri, 5 Dec 2008 18:25:01 +0000 (+0000) Subject: Fix compilation on 32-bit host configurations. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8680ba446a63c6e09ca6d36a1ce867dd83e35215;p=pf3gnuchains%2Fpf3gnuchains3x.git Fix compilation on 32-bit host configurations. * ia64-tdep.c (ia64_breakpoint_from_pc): Suffix a constant by `LL'. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 102a03de6c..a0f27153b4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-12-05 Jan Kratochvil + + Fix compilation on 32-bit host configurations. + * ia64-tdep.c (ia64_breakpoint_from_pc): Suffix a constant by `LL'. + 2008-12-05 Tristan Gingold * i386-darwin-nat.c (i386_darwin_sstep_at_sigreturn): New function. diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c index 5acd8b1e43..dc2d60abba 100644 --- a/gdb/ia64-tdep.c +++ b/gdb/ia64-tdep.c @@ -749,7 +749,7 @@ ia64_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pcptr, int *lenptr) the parameter value. For L+X slot pair we are at the X slot (slot 2) so we should not touch the L slot - the upper 41 bits of the parameter. */ instr_fetched = slotN_contents (bundle, slotnum); - instr_fetched &= 0x1003ffffc0; + instr_fetched &= 0x1003ffffc0LL; replace_slotN_contents (bundle, instr_fetched, slotnum); *lenptr = BUNDLE_LEN - 2;