]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/dwarf2: update call_site::target comment
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 2 Jun 2025 20:31:12 +0000 (20:31 +0000)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 2 Jun 2025 20:32:58 +0000 (16:32 -0400)
This comment refers to the field location kind enum, even though call
sites were moved to their own enum in 7eb21cc70224 ("Change
call_site_target to use custom type and enum").  Update it.

Change-Id: I089923170c919853efb2946529221a4b55e720c1

gdb/dwarf2/call-site.h

index e02cc5e50c659311af45cb3814e594d9fa9fa42d..2cc48835f951755d425221b1f104bb268497ae9a 100644 (file)
@@ -198,7 +198,7 @@ struct call_site
   struct call_site *tail_call_next = nullptr;
 
   /* * Describe DW_AT_call_target.  Missing attribute uses
-     FIELD_LOC_KIND_DWARF_BLOCK with FIELD_DWARF_BLOCK == NULL.  */
+     m_loc_kind == DWARF_BLOCK with m_loc.dwarf_block == nullptr.  */
 
   struct call_site_target target {};