From d85862106f524244fd24816f476403ae8ca28ae2 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Fri, 30 May 2025 16:19:40 -0400 Subject: [PATCH] gdb: fix DW_AT_compile_unit -> DW_TAG_compile_unit in comment While (mistakenly) grepping for DW_AT_compile_unit, I found this typo. Change-Id: I04d97d7b1b27eacfca9da3853711b6092d330575 --- gdb/dwarf2/cu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/dwarf2/cu.h b/gdb/dwarf2/cu.h index 5338dfe4b45..69f396c774a 100644 --- a/gdb/dwarf2/cu.h +++ b/gdb/dwarf2/cu.h @@ -369,7 +369,7 @@ public: right place. And since the DW_TAG_compile_unit DIE in the split-unit can't have a DW_AT_ranges attribute, we can use the - die->tag != DW_AT_compile_unit + die->tag != DW_TAG_compile_unit to determine whether the base should be added or not. */ ULONGEST gnu_ranges_base = 0; -- 2.39.5