This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Make dwarf_stack_value::in_stack_memory a bool
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 14 Sep 2017 10:52:36 -0400
- Subject: [binutils-gdb] Make dwarf_stack_value::in_stack_memory a bool
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 690098826e36cbadf618e15eed5f6ebf606cbf74 ***
Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 690098826e36cbadf618e15eed5f6ebf606cbf74
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.