diff options
author | Pedro Alves <palves@redhat.com> | 2011-12-16 20:29:28 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2011-12-16 20:29:28 +0000 |
commit | 77cce10fc22521660c7b1e42061693b69a62c449 (patch) | |
tree | 0f9365df5b876f17fe5f8107b221ea0242b7ff50 /gdb/top.h | |
parent | f4aa2101983cbddf6c79da013b085940f04decd5 (diff) | |
download | gdb-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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. */ |