X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fproc-api.c;h=986691dc83ddda970895486287ef4aa299fd251f;hb=9f60d481c28a949dc41179ecee5320ba1905398f;hp=4cae8fd2e6264f5d6ff348ef2d06b30f828a478f;hpb=fe6fdd96e9e398466a8313819d23f15e02598bc4;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/proc-api.c b/gdb/proc-api.c index 4cae8fd2e6..986691dc83 100644 --- a/gdb/proc-api.c +++ b/gdb/proc-api.c @@ -777,7 +777,7 @@ _initialize_proc_api (void) "Set tracing for /proc api calls.\n", &setlist); add_show_from_set (c, &showlist); - c->function.sfunc = set_procfs_trace_cmd; + set_cmd_sfunc (c, set_procfs_trace_cmd); c->completer = filename_completer; c = add_set_cmd ("procfs-file", no_class, var_filename, @@ -785,5 +785,5 @@ _initialize_proc_api (void) "Set filename for /proc tracefile.\n", &setlist); add_show_from_set (c, &showlist); - c->function.sfunc = set_procfs_file_cmd; + set_cmd_sfunc (c, set_procfs_file_cmd); }