summaryrefslogtreecommitdiff
path: root/gdb/tracepoint.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2002-07-24 17:58:46 +0000
committerTom Tromey <tromey@redhat.com>2002-07-24 17:58:46 +0000
commitb24830d4f1b1f9322484cd831039a9bf808cdf6d (patch)
tree4361eb9944853e6d4b4b36075e3f50a47dc6defc /gdb/tracepoint.c
parenta080421a8928e06e665f9a34bd0ccbc82659f96f (diff)
downloadgdb-b24830d4f1b1f9322484cd831039a9bf808cdf6d.tar.gz
* 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.
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r--gdb/tracepoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index 19f290656e2..976f9259cdd 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);
}