diff options
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r-- | gdb/ada-lang.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index d5ea581..d14a556 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -1488,7 +1488,7 @@ ada_decode (const char *encoded, bool wrap, bool operators, bool wide) if (i < len0 + 3 && encoded[i] == 'N' && encoded[i+1] == '_' && encoded[i+2] == '_') { - /* Backtrack a bit up until we reach either the begining of + /* Backtrack a bit up until we reach either the beginning of the encoded name, or "__". Make sure that we only find digits or lowercase characters. */ const char *ptr = encoded + i - 1; @@ -5821,8 +5821,8 @@ is_name_suffix (const char *str) /* ??? We should not modify STR directly, as we are doing below. This is fine in this case, but may become problematic later if we find that this alternative did not work, and want to try matching - another one from the begining of STR. Since we modified it, we - won't be able to find the begining of the string anymore! */ + another one from the beginning of STR. Since we modified it, we + won't be able to find the beginning of the string anymore! */ if (str[0] == 'X') { str += 1; |