diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-03-30 01:44:57 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-03-30 02:20:23 -0400 |
commit | a87686e5aa57d86a86b6deac8b4d47a86c69c950 (patch) | |
tree | 92f667fae57894fb8d410220d5e3858ee3ed337f /sim/d10v/interp.c | |
parent | 11558abc20f902a1fa3ea128809862787f642598 (diff) | |
download | gdb-a87686e5aa57d86a86b6deac8b4d47a86c69c950.zip gdb-a87686e5aa57d86a86b6deac8b4d47a86c69c950.tar.gz gdb-a87686e5aa57d86a86b6deac8b4d47a86c69c950.tar.bz2 |
sim: d10v: delete NEED_UI_LOOP_HOOK handling
This hook is used only when linked into gdb, and d10v doesn't have a gdb
port anymore. Punt it.
Diffstat (limited to 'sim/d10v/interp.c')
-rw-r--r-- | sim/d10v/interp.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/sim/d10v/interp.c b/sim/d10v/interp.c index 57bca39..0b21549 100644 --- a/sim/d10v/interp.c +++ b/sim/d10v/interp.c @@ -56,17 +56,6 @@ extern void sim_set_profile (int n); extern void sim_set_profile_size (int n); static INLINE uint8 *map_memory (unsigned phys_addr); -#ifdef NEED_UI_LOOP_HOOK -/* How often to run the ui_loop update, when in use */ -#define UI_LOOP_POLL_INTERVAL 0x14000 - -/* Counter for the ui_loop_hook update */ -static long ui_loop_hook_counter = UI_LOOP_POLL_INTERVAL; - -/* Actual hook to call to run through gdb's gui event loop */ -extern int (*deprecated_ui_loop_hook) (int signo); -#endif /* NEED_UI_LOOP_HOOK */ - #ifndef INLINE #if defined(__GNUC__) && defined(__OPTIMIZE__) #define INLINE __inline__ @@ -1042,14 +1031,6 @@ sim_resume (SIM_DESC sd, int step, int siggnal) /* Writeback all the DATA / PC changes */ SLOT_FLUSH (); - -#ifdef NEED_UI_LOOP_HOOK - if (deprecated_ui_loop_hook != NULL && ui_loop_hook_counter-- < 0) - { - ui_loop_hook_counter = UI_LOOP_POLL_INTERVAL; - deprecated_ui_loop_hook (0); - } -#endif /* NEED_UI_LOOP_HOOK */ } while ( !State.exception && !stop_simulator); |