aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-11-11 07:48:05 +0000
committerAndrew Cagney <cagney@redhat.com>1997-11-11 07:48:05 +0000
commitf445a8902d6862078a541defb2b8ae29daa6d37d (patch)
treec15e799d7c86cadb00c54e7610128dc23edfc7ea
parent87192c630ab39b03e70efdfce66117f8b253a843 (diff)
downloadgdb-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.
-rw-r--r--sim/common/ChangeLog6
-rw-r--r--sim/common/sim-events.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index d8533e7..96089f97 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,9 @@
+Tue Nov 11 13:28:02 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * sim-events.c (sim_events_process): Re-compute the time -
+ update_time_from_event - as each event is processed. Reverses
+ previous change.
+
Fri Nov 7 00:37:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
* callback.c (os_poll_quit): Replace _WIN32 with _MSC_VER.
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,