From eccd80d69487586578b7e085d8bd48657a4d7322 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Thu, 14 Sep 2017 16:54:37 +0200 Subject: Make dwarf_expr_context::stack_empty_p return a bool gdb/ChangeLog: * dwarf2expr.h (dwarf_expr_context) : Change return type to bool. * dwarf2expr.c (dwarf_expr_context::stack_empty_p): Likewise. --- gdb/dwarf2expr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/dwarf2expr.h') diff --git a/gdb/dwarf2expr.h b/gdb/dwarf2expr.h index a6aec28..0a57bee 100644 --- a/gdb/dwarf2expr.h +++ b/gdb/dwarf2expr.h @@ -251,7 +251,7 @@ private: struct type *address_type () const; void grow_stack (size_t need); void push (struct value *value, bool in_stack_memory); - int stack_empty_p () const; + bool stack_empty_p () const; void add_piece (ULONGEST size, ULONGEST offset); void execute_stack_op (const gdb_byte *op_ptr, const gdb_byte *op_end); void pop (); -- cgit v1.1