From b4f5539f0460e420dddade172f3d17c91470d254 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 24 Jul 2002 17:58:46 +0000 Subject: * defs.h (gdb_readline_wrapper): Declare. * utils.c (prompt_for_continue): Use gdb_readline_wrapper. * tracepoint.c (read_actions): Use gdb_readline_wrapper. * top.c (gdb_readline_wrapper): New function. (command_line_input): Use it. --- gdb/tracepoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/tracepoint.c') diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 19f2906..976f925 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -854,7 +854,7 @@ read_actions (struct tracepoint *t) line = (*readline_hook) (prompt); else if (instream == stdin && ISATTY (instream)) { - line = readline (prompt); + line = gdb_readline_wrapper (prompt); if (line && *line) /* add it to command history */ add_history (line); } -- cgit v1.1