diff options
Diffstat (limited to 'gdb/guile')
-rw-r--r-- | gdb/guile/guile.c | 14 | ||||
-rw-r--r-- | gdb/guile/scm-ports.c | 6 |
2 files changed, 10 insertions, 10 deletions
diff --git a/gdb/guile/guile.c b/gdb/guile/guile.c index b010e59..117561d 100644 --- a/gdb/guile/guile.c +++ b/gdb/guile/guile.c @@ -27,7 +27,7 @@ #include "cli/cli-utils.h" #include "command.h" #include "gdbcmd.h" -#include "interps.h" +#include "top.h" #include "extension-priv.h" #include "utils.h" #include "version.h" @@ -165,8 +165,8 @@ guile_repl_command (char *arg, int from_tty) { struct cleanup *cleanup; - cleanup = make_cleanup_restore_integer (&interpreter_async); - interpreter_async = 0; + cleanup = make_cleanup_restore_integer (¤t_ui->async); + current_ui->async = 0; arg = skip_spaces (arg); @@ -198,8 +198,8 @@ guile_command (char *arg, int from_tty) { struct cleanup *cleanup; - cleanup = make_cleanup_restore_integer (&interpreter_async); - interpreter_async = 0; + cleanup = make_cleanup_restore_integer (¤t_ui->async); + current_ui->async = 0; arg = skip_spaces (arg); @@ -328,8 +328,8 @@ gdbscm_execute_gdb_command (SCM command_scm, SCM rest) { struct cleanup *inner_cleanups; - inner_cleanups = make_cleanup_restore_integer (&interpreter_async); - interpreter_async = 0; + inner_cleanups = make_cleanup_restore_integer (¤t_ui->async); + current_ui->async = 0; prevent_dont_repeat (); if (to_string) diff --git a/gdb/guile/scm-ports.c b/gdb/guile/scm-ports.c index b0f576e..5559475 100644 --- a/gdb/guile/scm-ports.c +++ b/gdb/guile/scm-ports.c @@ -23,7 +23,7 @@ #include "defs.h" #include "gdb_select.h" -#include "interps.h" +#include "top.h" #include "target.h" #include "guile-internal.h" @@ -517,8 +517,8 @@ ioscm_with_output_to_port_worker (SCM port, SCM thunk, enum oport oport, cleanups = set_batch_flag_and_make_cleanup_restore_page_info (); - make_cleanup_restore_integer (&interpreter_async); - interpreter_async = 0; + make_cleanup_restore_integer (¤t_ui->async); + current_ui->async = 0; port_file = ioscm_file_port_new (port); |