Skip to content

Commit 3e30139

Browse files
committed
gdb/dwarf2: update call_site::target comment
This comment refers to the field location kind enum, even though call sites were moved to their own enum in 7eb21cc ("Change call_site_target to use custom type and enum"). Update it. Change-Id: I089923170c919853efb2946529221a4b55e720c1
1 parent 036e5c0 commit 3e30139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gdb/dwarf2/call-site.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ struct call_site
198198
struct call_site *tail_call_next = nullptr;
199199

200200
/* * Describe DW_AT_call_target. Missing attribute uses
201-
FIELD_LOC_KIND_DWARF_BLOCK with FIELD_DWARF_BLOCK == NULL. */
201+
m_loc_kind == DWARF_BLOCK with m_loc.dwarf_block == nullptr. */
202202

203203
struct call_site_target target {};
204204

0 commit comments

Comments
 (0)