gdb: Fix scrolling in TUI
[deliverable/binutils-gdb.git] / gdb / darwin-nat.c
index ecc7fc07f69a8a4ccc80cfa1a7db01c2b2a26e36..2a33a7d522f272bf77e6643ccf39bfe0278fac8c 100644 (file)
@@ -1,5 +1,5 @@
 /* Darwin support for GDB, the GNU debugger.
-   Copyright (C) 2008-2019 Free Software Foundation, Inc.
+   Copyright (C) 2008-2020 Free Software Foundation, Inc.
 
    Contributed by AdaCore.
 
@@ -2045,7 +2045,7 @@ darwin_nat_target::attach (const char *args, int from_tty)
 
   if (from_tty)
     {
-      char *exec_file = get_exec_file (0);
+      const char *exec_file = get_exec_file (0);
 
       if (exec_file)
        printf_unfiltered (_("Attaching to program: %s, %s\n"), exec_file,
This page took 0.028636 seconds and 4 git commands to generate.