+Tue Aug 1 14:50:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * 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.
+
2000-07-31 Kevin Buettner <kevinb@redhat.com>
* ppc-tdep.h: New file.
static int gdb_prompt_escape;
static int
-get_prompt_1 (char *formatted_prompt)
+get_prompt_1 (void *data)
{
+ char *formatted_prompt = data;
char *local_prompt;
if (event_loop_p)
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
/* worker function (cleanup) */
static void
-replace_comma (char *comma)
+replace_comma (void *data)
{
+ char *comma = data;
*comma = ',';
}