Fix compilation on 32-bit host configurations.
* ia64-tdep.c (ia64_breakpoint_from_pc): Suffix a constant by `LL'.
This commit is contained in:
parent
acdb24a9cf
commit
116e096528
|
@ -1,3 +1,8 @@
|
||||||
|
2008-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
|
Fix compilation on 32-bit host configurations.
|
||||||
|
* ia64-tdep.c (ia64_breakpoint_from_pc): Suffix a constant by `LL'.
|
||||||
|
|
||||||
2008-12-05 Tristan Gingold <gingold@adacore.com>
|
2008-12-05 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
* i386-darwin-nat.c (i386_darwin_sstep_at_sigreturn): New function.
|
* i386-darwin-nat.c (i386_darwin_sstep_at_sigreturn): New function.
|
||||||
|
|
|
@ -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
|
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. */
|
we should not touch the L slot - the upper 41 bits of the parameter. */
|
||||||
instr_fetched = slotN_contents (bundle, slotnum);
|
instr_fetched = slotN_contents (bundle, slotnum);
|
||||||
instr_fetched &= 0x1003ffffc0;
|
instr_fetched &= 0x1003ffffc0LL;
|
||||||
replace_slotN_contents (bundle, instr_fetched, slotnum);
|
replace_slotN_contents (bundle, instr_fetched, slotnum);
|
||||||
|
|
||||||
*lenptr = BUNDLE_LEN - 2;
|
*lenptr = BUNDLE_LEN - 2;
|
||||||
|
|
Loading…
Reference in New Issue