aboutsummaryrefslogtreecommitdiff
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
commit116e096528b54672ab60a35e88312ca57200232c (patch)
tree94a04dc5ee1f7cf29187df6a7297d703726a6906 /gdb/ia64-tdep.c
parentacdb24a9cf14f4ba854078d25e3eeb94a64bbb78 (diff)
downloadgdb-116e096528b54672ab60a35e88312ca57200232c.zip
gdb-116e096528b54672ab60a35e88312ca57200232c.tar.gz
gdb-116e096528b54672ab60a35e88312ca57200232c.tar.bz2
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 5acd8b1..dc2d60a 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;