* cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
[deliverable/binutils-gdb.git] / gdb / corefile.c
index facd2dae83bfcaff7b96393cc88fdf22c03300e1..7acbd6eb5670493b2cd44174bf719b62cde975a2 100644 (file)
@@ -448,7 +448,7 @@ No arg means have no core file.  This command has been superseded by the\n\
                   "Set the current BFD target.\n\
 Use `set gnutarget auto' to specify automatic detection.",
                   &setlist);
-  c->function.sfunc = set_gnutarget_command;
+  set_cmd_sfunc (c, set_gnutarget_command);
   add_show_from_set (c, &showlist);
 
   if (getenv ("GNUTARGET"))
This page took 0.042194 seconds and 4 git commands to generate.