aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-08-01 05:06:03 +0000
committerAndrew Cagney <cagney@redhat.com>2000-08-01 05:06:03 +0000
commit710b33bd11f6344967c225427e3bf392c9e155ce (patch)
tree9986d1ebaa8b7034fd85c32b8721e83ee1113f4b /gdb/top.c
parente3308d0d5be65e6c7300e6e7691fba0db54c83ef (diff)
downloadfsf-binutils-gdb-710b33bd11f6344967c225427e3bf392c9e155ce.zip
fsf-binutils-gdb-710b33bd11f6344967c225427e3bf392c9e155ce.tar.gz
fsf-binutils-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/top.c')
-rw-r--r--gdb/top.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/top.c b/gdb/top.c
index 442f149..ccb6aec 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -3179,8 +3179,9 @@ show_version (char *args, int from_tty)
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)