diff options
Diffstat (limited to 'gdb/interps.c')
-rw-r--r-- | gdb/interps.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/interps.c b/gdb/interps.c index fd08de5..6eed8f3 100644 --- a/gdb/interps.c +++ b/gdb/interps.c @@ -423,6 +423,16 @@ current_interp_command_loop (void) interp->procs->command_loop_proc (interp->data); } +/* See interp.h */ + +int +interp_supports_command_editing (struct interp *interp) +{ + if (interp->procs->supports_command_editing_proc != NULL) + return interp->procs->supports_command_editing_proc (interp); + return 0; +} + int interp_quiet_p (struct interp *interp) { |