From: Simon Marchi Date: Fri, 30 May 2025 20:19:40 +0000 (-0400) Subject: gdb: fix DW_AT_compile_unit -> DW_TAG_compile_unit in comment X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d85862106f524244fd24816f476403ae8ca28ae2;p=thirdparty%2Fbinutils-gdb.git 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 --- 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;