This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [Patch 4/7]: 68HC11 port of gdb (sim-event time that remains)
- To: Stephane Carrez <Stephane dot Carrez at free dot fr>
- Subject: Re: [Patch 4/7]: 68HC11 port of gdb (sim-event time that remains)
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 27 Jul 2000 21:37:11 +1000
- CC: gdb-patches at sourceware dot cygnus dot com
- References: <39568A42.53F91912@free.fr>
Stephane Carrez wrote:
>
> Hi!
>
> The following patch adds two functions to the simulator framework
> to compute the time which remains before an event occurs.
>
> I'm using this for some 68hc11 simulator print commands (called from gdb)
> to tell when a particular event (such as an interrupt) will occur.
>
> Stephane
>
> The ChangeLog is for gdb/sim/common
>
> 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
>
> * sim-events.c (sim_events_remain_time): New function returning
> the time that remains before the event is raised.
> * hw-events.c (hw_event_remain_time): Likewise.
> * sim-events.h (sim_events_remain_time): Declare.
> * hw-events.h (hw_event_remain_time): Declare.
>
Applied.
Andrew