summaryrefslogtreecommitdiff
path: root/gdb/ia64-tdep.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2008-12-05 18:25:01 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2008-12-05 18:25:01 +0000
commitac68302d81ede77b746f71c2b59a834d26678430 (patch)
tree9604585e35c8fb40018457cd70142eddd3f443a1 /gdb/ia64-tdep.c
parent5d1a7f50c49cc857d057dfd9fd959e1758287376 (diff)
downloadgdb-ac68302d81ede77b746f71c2b59a834d26678430.tar.gz
Fix compilation on 32-bit host configurations.
* ia64-tdep.c (ia64_breakpoint_from_pc): Suffix a constant by `LL'.
Diffstat (limited to 'gdb/ia64-tdep.c')
-rw-r--r--gdb/ia64-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c
index 5acd8b1e431..dc2d60abba9 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;