aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtk-hooks.c
diff options
context:
space:
mode:
authorKeith Seitz <keiths@cygnus>1998-09-25 15:22:23 +0000
committerKeith Seitz <keiths@cygnus>1998-09-25 15:22:23 +0000
commit4ce8d0e977321d1df165590fdd885a0ca5961191 (patch)
tree01078f2b8ce5680423c1bafdd00f0fbf1d4ed567 /gdb/gdbtk-hooks.c
parent4817b40893ad3836543d8254269860687578dd3d (diff)
downloadgdb-4ce8d0e977321d1df165590fdd885a0ca5961191.zip
gdb-4ce8d0e977321d1df165590fdd885a0ca5961191.tar.gz
gdb-4ce8d0e977321d1df165590fdd885a0ca5961191.tar.bz2
* gdbtk.c (gdbtk_wait): Don't run the timer for ice targets.
* v850ice.c (WM_ADDR_TO_SYM): New message. (v850ice_wndproc): Add handler for WM_SOURCE. (v850ice_wait): Call the ui_loop_hook occasionally. (ice_cont): Acknowledge message before doing anything. (ice_stepi): Ack message and let gdbtk do stepping. (ice_nexti): Ack message and let gdbtk do stepping. (view_source): New function ICE calls to display source code.
Diffstat (limited to 'gdb/gdbtk-hooks.c')
-rw-r--r--gdb/gdbtk-hooks.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/gdbtk-hooks.c b/gdb/gdbtk-hooks.c
index 8f6f19c..ff2e7f5 100644
--- a/gdb/gdbtk-hooks.c
+++ b/gdb/gdbtk-hooks.c
@@ -593,7 +593,9 @@ gdbtk_wait (pid, ourstatus)
int pid;
struct target_waitstatus *ourstatus;
{
- gdbtk_start_timer ();
+ /* Don't run the timer on various targets... */
+ if (!STREQ (target_shortname, "ice"))
+ gdbtk_start_timer ();
pid = target_wait (pid, ourstatus);
gdbtk_stop_timer ();
return pid;