From 77cce10fc22521660c7b1e42061693b69a62c449 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Fri, 16 Dec 2011 20:29:28 +0000 Subject: 2011-12-16 Pedro Alves * 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. --- gdb/top.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gdb/top.h') 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. */ -- cgit v1.1