diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-11-11 07:48:05 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-11-11 07:48:05 +0000 |
commit | f445a8902d6862078a541defb2b8ae29daa6d37d (patch) | |
tree | c15e799d7c86cadb00c54e7610128dc23edfc7ea /sim/common/sim-events.c | |
parent | 87192c630ab39b03e70efdfce66117f8b253a843 (diff) | |
download | gdb-f445a8902d6862078a541defb2b8ae29daa6d37d.zip gdb-f445a8902d6862078a541defb2b8ae29daa6d37d.tar.gz gdb-f445a8902d6862078a541defb2b8ae29daa6d37d.tar.bz2 |
* sim-events.c (sim_events_process): Re-compute the time -
update_time_from_event - as each event is processed. Reverses
previous change.
Diffstat (limited to 'sim/common/sim-events.c')
-rw-r--r-- | sim/common/sim-events.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/common/sim-events.c b/sim/common/sim-events.c index 481ddce..c70fc34 100644 --- a/sim/common/sim-events.c +++ b/sim/common/sim-events.c @@ -1058,6 +1058,7 @@ sim_events_process (SIM_DESC sd) sim_event_handler *handler = to_do->handler; void *data = to_do->data; events->queue = to_do->next; + update_time_from_event (sd); ETRACE((_ETRACE, "event issued at %ld - tag 0x%lx - handler 0x%lx, data 0x%lx\n", (long) event_time, |