Document ada_remove_trailing_digits more
[deliverable/binutils-gdb.git] / gdb / ada-lang.c
index a3234fba0f71a975e929a678dde1a22f6662ddcd..4f6e1611e56997d42fb554c1c63a07766dca5cd7 100644 (file)
@@ -900,11 +900,14 @@ is_lower_alphanum (const char c)
   return (isdigit (c) || (isalpha (c) && islower (c)));
 }
 
-/* Remove either of these suffixes:
+/* ENCODED is the linkage name of a symbol and LEN contains its length.
+   This function saves in LEN the length of that same symbol name but
+   without either of these suffixes:
      . .{DIGIT}+
      . ${DIGIT}+
      . ___{DIGIT}+
      . __{DIGIT}+.
+
    These are suffixes introduced by the compiler for entities such as
    nested subprogram for instance, in order to avoid name clashes.
    They do not serve any purpose for the debugger.  */
This page took 0.026185 seconds and 4 git commands to generate.