From 9fccedf7604a4d0c6b460c69ba5a006e02a3e0de Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 24 May 2012 01:26:15 +0000 Subject: * dwarf2-frame.c (execute_cfa_program): Update to handle long long -> int64_t change to leb128 API. (read_encoded_value, decode_frame_entry_1): Ditto. * dwarf2expr.c (safe_read_uleb128, safe_read_sleb128): Ditto. (dwarf_block_to_dwarf_reg, dwarf_block_to_dwarf_reg_deref): Ditto. (dwarf_block_to_fb_offset, dwarf_block_to_sp_offset): Ditto. (execute_stack_op): Ditto. * dwarf2expr.h (gdb_read_uleb128, gdb_read_sleb128): Ditto. (safe_read_uleb128, safe_read_sleb128): Ditto. * dwarf2loc.c (decode_debug_loc_dwo_addresses): Ditto. (dwarf2_compile_expr_to_ax): Ditto. (locexpr_describe_location_piece): Ditto. (disassemble_dwarf_expression): Ditto. (locexpr_describe_location_1): Ditto. --- gdb/dwarf2expr.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gdb/dwarf2expr.h') diff --git a/gdb/dwarf2expr.h b/gdb/dwarf2expr.h index 82a5a93..f39ef3c 100644 --- a/gdb/dwarf2expr.h +++ b/gdb/dwarf2expr.h @@ -311,9 +311,9 @@ int dwarf_block_to_sp_offset (struct gdbarch *gdbarch, const gdb_byte *buf, static inline const gdb_byte * gdb_read_uleb128 (const gdb_byte *buf, const gdb_byte *buf_end, - unsigned long long *r) + uint64_t *r) { - size_t bytes_read = read_uleb128_to_ull (buf, buf_end, r); + size_t bytes_read = read_uleb128_to_uint64 (buf, buf_end, r); if (bytes_read == 0) return NULL; @@ -322,9 +322,9 @@ gdb_read_uleb128 (const gdb_byte *buf, const gdb_byte *buf_end, static inline const gdb_byte * gdb_read_sleb128 (const gdb_byte *buf, const gdb_byte *buf_end, - long long *r) + int64_t *r) { - size_t bytes_read = read_sleb128_to_ll (buf, buf_end, r); + size_t bytes_read = read_sleb128_to_int64 (buf, buf_end, r); if (bytes_read == 0) return NULL; @@ -343,11 +343,11 @@ gdb_skip_leb128 (const gdb_byte *buf, const gdb_byte *buf_end) extern const gdb_byte *safe_read_uleb128 (const gdb_byte *buf, const gdb_byte *buf_end, - unsigned long long *r); + uint64_t *r); extern const gdb_byte *safe_read_sleb128 (const gdb_byte *buf, const gdb_byte *buf_end, - long long *r); + int64_t *r); extern const gdb_byte *safe_skip_leb128 (const gdb_byte *buf, const gdb_byte *buf_end); -- cgit v1.1