]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/arc-tdep.c
* cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
[thirdparty/binutils-gdb.git] / gdb / arc-tdep.c
index 825e55bd4fc2a507dcb4166972b66007f7a3afe8..10a1bc11b6c90dd917c30b3a3289c53b24b3f989 100644 (file)
@@ -692,9 +692,9 @@ change the cpu being debugged.  It also gives one access to\n\
 cpu-type-specific registers and recognize cpu-type-specific instructions.\
 ",
                   &setlist);
-  c->function.cfunc = arc_set_cpu_type_command;
+  set_cmd_cfunc (c, arc_set_cpu_type_command);
   c = add_show_from_set (c, &showlist);
-  c->function.cfunc = arc_show_cpu_type_command;
+  set_cmd_cfunc (c, arc_show_cpu_type_command);
 
   /* We have to use xstrdup() here because the `set' command frees it
      before setting a new value.  */