Remove tp_t typedef
[deliverable/binutils-gdb.git] / gdb / jit.c
index 2f23c058a034f96ea1970fd69b687ddad62f5f72..8cd645cb66e9930ac081bf7936edd28ed34916c1 100644 (file)
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -413,8 +413,8 @@ jit_read_code_entry (struct gdbarch *gdbarch,
   ptr_type = builtin_type (gdbarch)->builtin_data_ptr;
   ptr_size = TYPE_LENGTH (ptr_type);
 
-  /* Figure out where the longlong value will be.  */
-  align_bytes = gdbarch_long_long_align_bit (gdbarch) / 8;
+  /* Figure out where the uint64_t value will be.  */
+  align_bytes = type_align (builtin_type (gdbarch)->builtin_uint64);
   off = 3 * ptr_size;
   off = (off + (align_bytes - 1)) & ~(align_bytes - 1);
 
This page took 0.026544 seconds and 4 git commands to generate.