Use safe-ctype.h (ISSPACE etc.) in symbol parsing & comparison
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 27472c8a8a4be5f932fdd487c23abc62d1232948..0dce256b6a427e695d62c781805a2b10aa89f92b 100644 (file)
@@ -1,3 +1,17 @@
+2020-05-23  Pedro Alves  <palves@redhat.com>
+
+       * utils.c: Include "gdbsupport/gdb-safe-ctype.h".
+       (parse_escape): Use ISDIGIT instead of isdigit.
+       (puts_debug): Use gdb_isprint instead of isprint.
+       (fprintf_symbol_filtered): Use ISALNUM instead of isalnum.
+       (cp_skip_operator_token, skip_ws, strncmp_iw_with_mode): Use
+       ISSPACE instead of isspace.
+       (strncmp_iw_with_mode): Use TOLOWER instead of tolower and ISSPACE
+       instead of isspace.
+       (strcmp_iw_ordered): Use ISSPACE instead of isspace.
+       (string_to_core_addr): Use TOLOWER instead of tolower, ISXDIGIT
+       instead of isxdigit and ISDIGIT instead of isdigit.
+
 2020-05-22  Simon Marchi  <simon.marchi@efficios.com>
 
        * gdbtypes.h (struct type) <field>: New method.
This page took 0.03106 seconds and 4 git commands to generate.