Make dwarf_stack_value::in_stack_memory a bool
authorSimon Marchi <simon.marchi@ericsson.com>
Thu, 14 Sep 2017 14:13:33 +0000 (16:13 +0200)
committerSimon Marchi <simon.marchi@ericsson.com>
Thu, 14 Sep 2017 14:14:35 +0000 (16:14 +0200)
commit690098826e36cbadf618e15eed5f6ebf606cbf74
tree7ac03d173f42a03dce55c377ada3dff49d616c02
parent1e467161932b6385b51d0bd365a91cf205b399b9
Make dwarf_stack_value::in_stack_memory a bool

Replace int with bool, because that's what it is.

gdb/ChangeLog:

* dwarf2expr.h (dwarf_expr_piece) <v.mem.in_stack_memory>:
Change type to bool.
(dwarf_stack_value) <in_stack_memory>: Likewise.
(dwarf_expr_context) <push_address>: Change parameter type to
bool.
<fetch_in_stack_memory>: Change return type to bool.
<push>: Change parameter type to bool.
* dwarf2expr.c (dwarf_expr_context::push): Change parameter type
to bool.
(dwarf_expr_context::push_address): Likewise.
(dwarf_expr_context::fetch_in_stack_memory): Change return type
to bool.
(dwarf_expr_context::execute_stack_op): Adjust.
* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Adjust.
gdb/ChangeLog
gdb/dwarf2expr.c
gdb/dwarf2expr.h
gdb/dwarf2loc.c
This page took 0.027919 seconds and 4 git commands to generate.