* 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.
This commit is contained in:
Keith Seitz 1998-09-25 15:22:23 +00:00
parent 4817b40893
commit 4ce8d0e977
3 changed files with 44 additions and 2 deletions

View file

@ -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;