gdb: Don't fault for 'maint print psymbols' when using an index
[deliverable/binutils-gdb.git] / gdb / psymtab.h
index aed686258d4d54ed28185c872b8c3e23640bf625..0ad2b49d9a5c03b9a63a36e16cfacdb3d4b88021 100644 (file)
@@ -109,7 +109,11 @@ public:
   /* Map addresses to the entries of PSYMTABS.  It would be more efficient to
      have a map per the whole process but ADDRMAP cannot selectively remove
      its items during FREE_OBJFILE.  This mapping is already present even for
-     PARTIAL_SYMTABs which still have no corresponding full SYMTABs read.  */
+     PARTIAL_SYMTABs which still have no corresponding full SYMTABs read.
+
+     The DWARF parser reuses this addrmap to store things other than
+     psymtabs in the cases where debug information is being read from, for
+     example, the .debug-names section.  */
 
   struct addrmap *psymtabs_addrmap = nullptr;
 
This page took 0.034321 seconds and 4 git commands to generate.