[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Simulavr-devel] Re: Simulavr / clock
From: |
Keith Gudger |
Subject: |
Re: [Simulavr-devel] Re: Simulavr / clock |
Date: |
Wed, 11 Feb 2004 12:38:40 -0800 (PST) |
On Wed, 11 Feb 2004, Theodore A. Roth wrote:
> >
> > I'm going to look into the "named registers" which get returned with an
> > "info all-registers". Could I put the cpu clock into some such register
> > so that gdb can find it and print it with "p $r21" style?
>
> I'm not sure that this should go into gdb. When you are running gdb
> using avarice/jtagice as a back end, there is no way that I know of to
> get clock information. Also, gdb with avarice is slow enough as it is
> and something like this could slow it down even more.
>
Ted:
What I meant was adding a "cpu_clock" register to simulavr. I thought the
definitions of the registers were in simulavr, not gdb, so if I'm wrong, I
won't bother. Thanks anyway.
Keith