This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFC]: Changes to move dcache above target vector functions.


"J.T. Conklin" wrote:
> 
> * There is a BDM reset command in ocd.c that needs to flush the cache.
>   Do I want to expose target_dcache so it can call dcache_invalidate()?
>   It seems like an abstraction barrier violation to me.  Do I want to
>   provide a function that invalidates on all dcaches that have been
>   created?  Perhaps "reset" is really a higher level command that should
>   be accessed through a target vector function?
> 

Several of us seem to have the same problem: we need a gdb "reset" command (for
embedded targets) which would invalidate register and other caches.

Having a to_reset entry is one step, but we probably need a remote protocol message
as well.  We could un-deprecate "r" and/or define "R" a little better.

-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@cygnus.com
2323 Yonge Street, Suite #300           Tel:  416-482-2661 ext. 311
Toronto, Ontario   M4P 2C9              Fax:  416-482-6299

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]