mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
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:
parent
f54be24b10
commit
7635cf797e
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user