Rename _const functions to use overloading instead
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index fa94de422883470a1e9a163e2a12f3536718e177..fb0de8b3057f2a5f173794232e6e841cd14ce6fe 100644 (file)
@@ -1,3 +1,24 @@
+2017-09-11  Tom Tromey  <tom@tromey.com>
+
+       * common/common-utils.h (skip_to_space): Remove macro, redeclare
+       as function.
+       (skip_to_space): Rename from skip_to_space_const.
+       * common/common-utils.c (skip_to_space): New function.
+       (skip_to_space): Rename from skip_to_space_const.
+       * cli/cli-utils.h (get_number): Rename from get_number_const.
+       (extract_arg): Rename from extract_arg_const.
+       * cli/cli-utils.c (get_number): Rename from get_number_const.
+       (extract_arg): Rename from extract_arg_const.
+       (number_or_range_parser::get_number): Use ::get_number.
+       * aarch64-linux-tdep.c, ada-lang.c, arm-linux-tdep.c, ax-gdb.c,
+       break-catch-throw.c, breakpoint.c, cli/cli-cmds.c, cli/cli-dump.c,
+       cli/cli-script.c, cli/cli-setshow.c, compile/compile.c,
+       completer.c, demangle.c, disasm.c, findcmd.c, linespec.c,
+       linux-tdep.c, linux-thread-db.c, location.c, mi/mi-parse.c,
+       minsyms.c, nat/linux-procfs.c, printcmd.c, probe.c,
+       python/py-breakpoint.c, record.c, rust-exp.y, serial.c, stack.c,
+       stap-probe.c, tid-parse.c, tracepoint.c: Update all callers.
+
 2017-09-11  Tom Tromey  <tom@tromey.com>
 
        * python/python.c (do_start_initialization): Use
This page took 0.027495 seconds and 4 git commands to generate.