diff options
author | Tom Tromey <tromey@redhat.com> | 2002-07-24 17:58:46 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2002-07-24 17:58:46 +0000 |
commit | b4f5539f0460e420dddade172f3d17c91470d254 (patch) | |
tree | 4873d442fa6ae0748ca69879333061337c403a17 /gdb/tracepoint.c | |
parent | 8e1a114b75cd91c110ca78b6eee8ad3df494ddab (diff) | |
download | gdb-b4f5539f0460e420dddade172f3d17c91470d254.zip gdb-b4f5539f0460e420dddade172f3d17c91470d254.tar.gz gdb-b4f5539f0460e420dddade172f3d17c91470d254.tar.bz2 |
* 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |