diff options
author | Tom Tromey <tromey@redhat.com> | 2010-05-25 16:41:42 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-05-25 16:41:42 +0000 |
commit | 21b7661801cd268665cf01c5bc971cd400d287ce (patch) | |
tree | ceda8d04e3dc1275bec4e203ba0a059e5939b94b /gdb/dwarf2-frame.h | |
parent | 5dee8918b852e4ffd881b4667249df686bc9c090 (diff) | |
download | gdb-21b7661801cd268665cf01c5bc971cd400d287ce.tar.gz |
* dwarf2loc.c (dwarf_expr_frame_base): Constify.
(dwarf_expr_frame_base_1): Likewise.
(read_pieced_value): Update.
(needs_frame_frame_base): Constify.
(dwarf2_tracepoint_var_loc): Likewise.
(dwarf2_tracepoint_var_access): Likewise.
(locexpr_describe_location_piece): Likewise.
(locexpr_describe_location_1): Likewise.
* dwarf2expr.h (struct dwarf_expr_context) <get_frame_base>:
Constify.
(data): Now const.
(struct dwarf_expr_piece) <v.literal.data>: Likewise.
(dwarf_expr_eval, read_uleb128, read_sleb128)
(dwarf2_read_address): Update.
* dwarf2expr.c (dwarf_expr_eval): Constify.
(read_uleb128): Likewise.
(read_sleb128): Likewise.
(dwarf2_read_address): Likewise.
(require_composition): Likewise.
(execute_stack_op): Likewise.
* dwarf2-frame.h (struct dwarf2_frame_state_reg) <loc.exp>: Now a
"const gdb_byte *".
* dwarf2-frame.c (struct dwarf2_frame_state_reg_info) <cfa_exp>:
Now const.
(no_get_frame_base): Constify.
(execute_stack_op): Likewise.
(execute_cfa_program): Likewise.
(read_encoded_value): Likewise.
Diffstat (limited to 'gdb/dwarf2-frame.h')
-rw-r--r-- | gdb/dwarf2-frame.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2-frame.h b/gdb/dwarf2-frame.h index d2b34f090aa..2496f05c427 100644 --- a/gdb/dwarf2-frame.h +++ b/gdb/dwarf2-frame.h @@ -72,7 +72,7 @@ struct dwarf2_frame_state_reg union { LONGEST offset; ULONGEST reg; - unsigned char *exp; + const gdb_byte *exp; struct value *(*fn) (struct frame_info *this_frame, void **this_cache, int regnum); } loc; |