aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dwarf2/loc.c26
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