mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 21:34:46 +08:00
Make dwarf_expr_context::stack_empty_p return a bool
gdb/ChangeLog: * dwarf2expr.h (dwarf_expr_context) <stack_empty_p>: Change return type to bool. * dwarf2expr.c (dwarf_expr_context::stack_empty_p): Likewise.
This commit is contained in:
@ -272,7 +272,7 @@ dwarf_expr_context::fetch_in_stack_memory (int n)
|
||||
|
||||
/* Return true if the expression stack is empty. */
|
||||
|
||||
int
|
||||
bool
|
||||
dwarf_expr_context::stack_empty_p () const
|
||||
{
|
||||
return this->stack_len == 0;
|
||||
|
Reference in New Issue
Block a user