diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-06-17 19:50:53 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-06-17 19:50:53 +0000 |
commit | 24c5c679cb74ed4035f8c1dd4249654602fd1f10 (patch) | |
tree | ee24fda32e84b20b44aafb6812f454044d5e4db5 /gdb/ChangeLog | |
parent | e8c21678a448808bdfd5eff794aa5a061cba6af6 (diff) | |
download | gdb-24c5c679cb74ed4035f8c1dd4249654602fd1f10.zip gdb-24c5c679cb74ed4035f8c1dd4249654602fd1f10.tar.gz gdb-24c5c679cb74ed4035f8c1dd4249654602fd1f10.tar.bz2 |
gdb/
Code cleanup: Generalize call_site.parameter key.
* dwarf2expr.c (execute_stack_op) <DW_OP_GNU_entry_value>: Remove
variable dwarf_reg. New variable kind_u. Update parameters to
push_dwarf_reg_entry_value.
(ctx_no_push_dwarf_reg_entry_value): Update parameters.
* dwarf2expr.h (enum call_site_parameter_kind)
(union call_site_parameter_u): Forward declarations.
(struct dwarf_expr_context_funcs): Update parameters and their
description for push_dwarf_reg_entry_value.
(ctx_no_push_dwarf_reg_entry_value): Update parameters.
* dwarf2loc.c (call_site_parameter_matches): New function.
(dwarf_expr_reg_to_entry_parameter): Update parameters and their
description. Use call_site_parameter_matches.
(dwarf_expr_push_dwarf_reg_entry_value, value_of_dwarf_reg_entry):
Update parameters and their description.
(value_of_dwarf_block_entry): Remove variables dwarf_reg and fb_offset.
New variable kind_u. Adjust the caller for updated parameters.
(needs_dwarf_reg_entry_value): Update parameters.
* dwarf2read.c (read_call_site_scope): New variable loc. Use it
instead of attr. Update for the changed fields of struct
call_site_parameter.
* gdbtypes.h: Include dwarf2expr.h.
(enum call_site_parameter_kind): New.
(struct call_site.parameter): New field kind. Wrap dwarf_reg and
fb_offset into new union u.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2602077..eb4bfb9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,31 @@ +2012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com> + + Code cleanup: Generalize call_site.parameter key. + * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_entry_value>: Remove + variable dwarf_reg. New variable kind_u. Update parameters to + push_dwarf_reg_entry_value. + (ctx_no_push_dwarf_reg_entry_value): Update parameters. + * dwarf2expr.h (enum call_site_parameter_kind) + (union call_site_parameter_u): Forward declarations. + (struct dwarf_expr_context_funcs): Update parameters and their + description for push_dwarf_reg_entry_value. + (ctx_no_push_dwarf_reg_entry_value): Update parameters. + * dwarf2loc.c (call_site_parameter_matches): New function. + (dwarf_expr_reg_to_entry_parameter): Update parameters and their + description. Use call_site_parameter_matches. + (dwarf_expr_push_dwarf_reg_entry_value, value_of_dwarf_reg_entry): + Update parameters and their description. + (value_of_dwarf_block_entry): Remove variables dwarf_reg and fb_offset. + New variable kind_u. Adjust the caller for updated parameters. + (needs_dwarf_reg_entry_value): Update parameters. + * dwarf2read.c (read_call_site_scope): New variable loc. Use it + instead of attr. Update for the changed fields of struct + call_site_parameter. + * gdbtypes.h: Include dwarf2expr.h. + (enum call_site_parameter_kind): New. + (struct call_site.parameter): New field kind. Wrap dwarf_reg and + fb_offset into new union u. + 2012-06-16 H.J. Lu <hongjiu.lu@intel.com> * amd64-tdep.c (amd64_x32_analyze_stack_align): New function. |