diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-08-01 05:06:03 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-08-01 05:06:03 +0000 |
commit | 710b33bd11f6344967c225427e3bf392c9e155ce (patch) | |
tree | 9986d1ebaa8b7034fd85c32b8721e83ee1113f4b /gdb/tracepoint.c | |
parent | e3308d0d5be65e6c7300e6e7691fba0db54c83ef (diff) | |
download | gdb-710b33bd11f6344967c225427e3bf392c9e155ce.zip gdb-710b33bd11f6344967c225427e3bf392c9e155ce.tar.gz gdb-710b33bd11f6344967c225427e3bf392c9e155ce.tar.bz2 |
* top.c (get_prompt_1), tracepoint.c (replace_comma): Update
function signatures so that they match catch_errors and
make_cleanup callbacks.
* tracepoint.c (encode_actions): Fix arguments passed to
stringify_collection_list.
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r-- | gdb/tracepoint.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 83dce01..7d8a631 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -1625,8 +1625,8 @@ encode_actions (struct tracepoint *t, char ***tdp_actions, memrange_sortmerge (&tracepoint_list); memrange_sortmerge (&stepping_list); - *tdp_actions = stringify_collection_list (&tracepoint_list, &tdp_buff); - *stepping_actions = stringify_collection_list (&stepping_list, &step_buff); + *tdp_actions = stringify_collection_list (&tracepoint_list, tdp_buff); + *stepping_actions = stringify_collection_list (&stepping_list, step_buff); } static void @@ -2445,8 +2445,9 @@ scope_info (char *args, int from_tty) /* worker function (cleanup) */ static void -replace_comma (char *comma) +replace_comma (void *data) { + char *comma = data; *comma = ','; } |