]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/skip.c
* blockframe.c (find_pc_partial_function_gnu_ifunc): Change type of
[thirdparty/binutils-gdb.git] / gdb / skip.c
index 637f4e0c509ddfc249ea1e99fa932b12a5cddd77..d983a800e05ed0ed3ca55d8a41f2688ee62cecff 100644 (file)
@@ -67,7 +67,7 @@ static void skip_file_command (char *arg, int from_tty);
 static void skip_info (char *arg, int from_tty);
 
 static void add_skiplist_entry (struct skiplist_entry *e);
-static void skip_function_pc (CORE_ADDR pc, char *name,
+static void skip_function_pc (CORE_ADDR pc, const char *name,
                              struct gdbarch *arch,
                              int pending);
 
@@ -133,7 +133,7 @@ static void
 skip_function_command (char *arg, int from_tty)
 {
   CORE_ADDR func_pc;
-  char *name = NULL;
+  const char *name = NULL;
 
   /* Default to the current function if no argument is given.  */
   if (arg == 0)
@@ -397,7 +397,7 @@ skip_delete_command (char *arg, int from_tty)
    function name and add it to the list.  */
 
 static void
-skip_function_pc (CORE_ADDR pc, char *name, struct gdbarch *arch,
+skip_function_pc (CORE_ADDR pc, const char *name, struct gdbarch *arch,
                  int pending)
 {
   struct skiplist_entry *e = XZALLOC (struct skiplist_entry);
@@ -524,7 +524,7 @@ skip_re_set (void)
              CORE_ADDR pc = sal.pc;
              CORE_ADDR func_start = 0;
              struct gdbarch *arch = get_sal_arch (sal);
-              char *func_name;
+              const char *func_name;
 
              if (find_pc_partial_function (pc, &func_name, &func_start, 0))
                {