projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove tp_t typedef
[deliverable/binutils-gdb.git]
/
gdb
/
jit.c
diff --git
a/gdb/jit.c
b/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);
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);
off = 3 * ptr_size;
off = (off + (align_bytes - 1)) & ~(align_bytes - 1);
This page took
0.024553 seconds
and
4
git commands to generate.