From 7635cf797e267246b858d3daa3d781135baa0ea4 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 17 Aug 2020 06:02:24 -0400 Subject: [PATCH] gdb: fix wrong indentation in symbol_needs_eval_context gdb/ChangeLog: * loc.c (class symbol_needs_eval_context): Fix indentation. Change-Id: Ibf4e6a9ca9573b498737a61db116ee10b287b7f5 --- gdb/ChangeLog | 4 ++++ gdb/dwarf2/loc.c | 26 +++++++++++++------------- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b5917e95f9d..d7e56069041 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2020-08-17 Simon Marchi + + * loc.c (class symbol_needs_eval_context): Fix indentation. + 2020-08-17 Simon Marchi * dwarf2/loc.c (dwarf2_loc_desc_get_symbol_read_needs): Use diff --git a/gdb/dwarf2/loc.c b/gdb/dwarf2/loc.c index b02ef91be91..a2bed9d4a9a 100644 --- a/gdb/dwarf2/loc.c +++ b/gdb/dwarf2/loc.c @@ -2826,19 +2826,19 @@ public: /* 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; - } - - /* 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_addr_index (unsigned int index) override + { + /* Nothing to do. */ + return 1; + } + + /* DW_OP_push_object_address has a frame already passed through. */ + + CORE_ADDR get_object_address () override + { + /* Nothing to do. */ + return 1; + } }; /* Compute the correct symbol_needs_kind value for the location -- 2.30.2