diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2020-08-17 06:02:24 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2020-08-17 06:02:24 -0400 |
commit | 7635cf797e267246b858d3daa3d781135baa0ea4 (patch) | |
tree | 3dccba89e657ae51374e08835414dc28e0c79183 | |
parent | f54be24b106fdd3278490ff5b37910fbef87e210 (diff) | |
download | gdb-7635cf797e267246b858d3daa3d781135baa0ea4.zip gdb-7635cf797e267246b858d3daa3d781135baa0ea4.tar.gz gdb-7635cf797e267246b858d3daa3d781135baa0ea4.tar.bz2 |
gdb: fix wrong indentation in symbol_needs_eval_context
gdb/ChangeLog:
* loc.c (class symbol_needs_eval_context): Fix indentation.
Change-Id: Ibf4e6a9ca9573b498737a61db116ee10b287b7f5
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/dwarf2/loc.c | 26 |
2 files changed, 17 insertions, 13 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b5917e9..d7e5606 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 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 bool. diff --git a/gdb/dwarf2/loc.c b/gdb/dwarf2/loc.c index b02ef91..a2bed9d 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 |