GDB (xrefs)
|
#include "defs.h"
#include "symtab.h"
#include "inferior.h"
#include "command.h"
#include "bfd.h"
#include "symfile.h"
#include "objfiles.h"
#include "target.h"
#include "gdbcore.h"
#include "event-loop.h"
#include "event-top.h"
#include "frame.h"
#include "breakpoint.h"
#include "ui-out.h"
#include "top.h"
#include "observer.h"
#include <unistd.h>
#include <fcntl.h>
#include "tui/tui.h"
#include "tui/tui-hooks.h"
#include "tui/tui-data.h"
#include "tui/tui-layout.h"
#include "tui/tui-io.h"
#include "tui/tui-regs.h"
#include "tui/tui-win.h"
#include "tui/tui-stack.h"
#include "tui/tui-windata.h"
#include "tui/tui-winsource.h"
#include "gdb_curses.h"
#include "readline/readline.h"
Go to the source code of this file.
Functions | |
static void | tui_new_objfile_hook (struct objfile *objfile) |
static void | tui_register_changed_hook (int regno) |
static void | tui_event_create_breakpoint (struct breakpoint *b) |
static void | tui_event_delete_breakpoint (struct breakpoint *b) |
static void | tui_event_modify_breakpoint (struct breakpoint *b) |
static void | tui_about_to_proceed (void) |
static void | tui_refresh_frame_and_register_information (int registers_too_p) |
static void | tui_dummy_print_frame_info_listing_hook (struct symtab *s, int line, int stopline, int noerror) |
static void | tui_inferior_exit (struct inferior *inf) |
static void | tui_before_prompt (const char *current_gdb_prompt) |
static void | tui_normal_stop (struct bpstats *bs, int print_frame) |
void | tui_install_hooks (void) |
void | tui_remove_hooks (void) |
void | _initialize_tui_hooks (void) |
Variables | |
int | tui_target_has_run = 0 |
static int | tui_refreshing_registers = 0 |
static struct observer * | tui_bp_created_observer |
static struct observer * | tui_bp_deleted_observer |
static struct observer * | tui_bp_modified_observer |
static struct observer * | tui_inferior_exit_observer |
static struct observer * | tui_about_to_proceed_observer |
static struct observer * | tui_before_prompt_observer |
static struct observer * | tui_normal_stop_observer |
void _initialize_tui_hooks | ( | void | ) |
Definition at line 288 of file tui-hooks.c.
References observer_attach_new_objfile(), and tui_new_objfile_hook().
|
static |
Definition at line 108 of file tui-hooks.c.
References target_terminal_inferior(), target_terminal_ours(), tui_active, and tui_target_has_run.
Referenced by tui_install_hooks().
|
static |
Definition at line 201 of file tui-hooks.c.
References tui_refresh_frame_and_register_information().
Referenced by tui_install_hooks().
|
static |
Definition at line 179 of file tui-hooks.c.
Referenced by tui_install_hooks().
|
static |
Definition at line 86 of file tui-hooks.c.
References tui_update_all_breakpoint_info().
Referenced by tui_install_hooks().
|
static |
Definition at line 94 of file tui-hooks.c.
References tui_update_all_breakpoint_info().
Referenced by tui_install_hooks().
|
static |
Definition at line 100 of file tui-hooks.c.
References tui_update_all_breakpoint_info().
Referenced by tui_install_hooks().
|
static |
Definition at line 190 of file tui-hooks.c.
References TUI_COMMAND_MODE, tui_display_main(), tui_set_key_mode(), and tui_show_frame_info().
Referenced by tui_install_hooks().
void tui_install_hooks | ( | void | ) |
Definition at line 232 of file tui-hooks.c.
References deprecated_print_frame_info_listing_hook, deprecated_register_changed_hook, observer_attach_about_to_proceed(), observer_attach_before_prompt(), observer_attach_breakpoint_created(), observer_attach_breakpoint_deleted(), observer_attach_breakpoint_modified(), observer_attach_inferior_exit(), observer_attach_normal_stop(), tui_about_to_proceed(), tui_before_prompt(), tui_dummy_print_frame_info_listing_hook(), tui_event_create_breakpoint(), tui_event_delete_breakpoint(), tui_event_modify_breakpoint(), tui_inferior_exit(), tui_normal_stop(), and tui_register_changed_hook().
Referenced by tui_enable().
|
static |
Definition at line 60 of file tui-hooks.c.
References tui_active, and tui_display_main().
Referenced by _initialize_tui_hooks().
Definition at line 214 of file tui-hooks.c.
References tui_refresh_frame_and_register_information().
Referenced by tui_install_hooks().
|
static |
Definition at line 129 of file tui-hooks.c.
References DATA_WIN, do_cleanups(), find_pc_line_symtab(), get_frame_pc_if_available(), get_selected_frame(), has_stack_frames(), make_cleanup_restore_target_terminal(), select_source_symtab(), target_terminal_ours_for_output(), tui_check_data_values(), tui_is_window_visible(), tui_refreshing_registers, and tui_show_frame_info().
Referenced by tui_before_prompt(), and tui_normal_stop().
|
static |
Definition at line 70 of file tui-hooks.c.
References get_selected_frame(), tui_check_data_values(), and tui_refreshing_registers.
Referenced by tui_install_hooks().
void tui_remove_hooks | ( | void | ) |
Definition at line 262 of file tui-hooks.c.
References deprecated_print_frame_info_listing_hook, deprecated_query_hook, deprecated_register_changed_hook, observer_detach_about_to_proceed(), observer_detach_before_prompt(), observer_detach_breakpoint_created(), observer_detach_breakpoint_deleted(), observer_detach_breakpoint_modified(), observer_detach_inferior_exit(), and observer_detach_normal_stop().
Referenced by tui_disable().
|
static |
Definition at line 226 of file tui-hooks.c.
|
static |
Definition at line 227 of file tui-hooks.c.
|
static |
Definition at line 222 of file tui-hooks.c.
|
static |
Definition at line 223 of file tui-hooks.c.
|
static |
Definition at line 224 of file tui-hooks.c.
|
static |
Definition at line 225 of file tui-hooks.c.
|
static |
Definition at line 228 of file tui-hooks.c.
|
static |
Definition at line 67 of file tui-hooks.c.
Referenced by tui_refresh_frame_and_register_information(), and tui_register_changed_hook().
int tui_target_has_run = 0 |
Definition at line 57 of file tui-hooks.c.
Referenced by tui_about_to_proceed().