projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
[deliverable/binutils-gdb.git]
/
gdb
/
proc-api.c
diff --git
a/gdb/proc-api.c
b/gdb/proc-api.c
index 4cae8fd2e6264f5d6ff348ef2d06b30f828a478f..986691dc83ddda970895486287ef4aa299fd251f 100644
(file)
--- 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);
"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,
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);
"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)
;
}
}
This page took
0.024224 seconds
and
4
git commands to generate.