aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-12-16 20:29:28 +0000
committerPedro Alves <palves@redhat.com>2011-12-16 20:29:28 +0000
commit77cce10fc22521660c7b1e42061693b69a62c449 (patch)
tree0f9365df5b876f17fe5f8107b221ea0242b7ff50 /gdb/top.h
parentf4aa2101983cbddf6c79da013b085940f04decd5 (diff)
downloadgdb-77cce10fc22521660c7b1e42061693b69a62c449.zip
gdb-77cce10fc22521660c7b1e42061693b69a62c449.tar.gz
gdb-77cce10fc22521660c7b1e42061693b69a62c449.tar.bz2
2011-12-16 Pedro Alves <pedro@codesourcery.com>
* inf-loop.c: Include top.h. (inferior_event_handler): Call check_frame_language. * top.c (check_frame_language_change): New, factored out from ... (execute_command): ... this. Use check_frame_language_change. * top.h (check_frame_language_change): Declare.
Diffstat (limited to 'gdb/top.h')
-rw-r--r--gdb/top.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/top.h b/gdb/top.h
index 3e6679c..8806402 100644
--- a/gdb/top.h
+++ b/gdb/top.h
@@ -44,6 +44,8 @@ extern void quit_command (char *, int);
extern void quit_cover (void);
extern void execute_command (char *, int);
+extern void check_frame_language_change (void);
+
/* Prepare for execution of a command.
Call this before every command, CLI or MI.
Returns a cleanup to be run after the command is completed. */