gdb: fix wrong indentation in symbol_needs_eval_context

gdb/ChangeLog:

	* loc.c (class symbol_needs_eval_context): Fix indentation.

Change-Id: Ibf4e6a9ca9573b498737a61db116ee10b287b7f5
This commit is contained in:
Simon Marchi 2020-08-17 06:02:24 -04:00
parent f54be24b10
commit 7635cf797e
2 changed files with 15 additions and 11 deletions

View File

@ -1,3 +1,7 @@
2020-08-17 Simon Marchi <simon.marchi@polymtl.ca>
* loc.c (class symbol_needs_eval_context): Fix indentation.
2020-08-17 Simon Marchi <simon.marchi@polymtl.ca>
* dwarf2/loc.c (dwarf2_loc_desc_get_symbol_read_needs): Use

View File

@ -2826,19 +2826,19 @@ class symbol_needs_eval_context : public dwarf_expr_context
/* DW_OP_addrx and DW_OP_GNU_addr_index doesn't require a frame. */
CORE_ADDR get_addr_index (unsigned int index) override
{
/* Nothing to do. */
return 1;
}
CORE_ADDR get_addr_index (unsigned int index) override
{
/* Nothing to do. */
return 1;
}
/* DW_OP_push_object_address has a frame already passed through. */
/* DW_OP_push_object_address has a frame already passed through. */
CORE_ADDR get_object_address () override
{
/* Nothing to do. */
return 1;
}
CORE_ADDR get_object_address () override
{
/* Nothing to do. */
return 1;
}
};
/* Compute the correct symbol_needs_kind value for the location