[parisc-linux] PATCH: flush_icache_page() and flush_icache_range()

John David Anglin dave@hiauly1.hia.nrc.ca
Tue, 28 May 2002 20:48:30 -0400 (EDT)


> Hi,
>   gdb has a problem in that it often doesn't stop the target program
> when you do a 'step' or 'next'.  This is because it plants breakpoints,
> but those breakpoints sit in the data cache and don't get flushed
> through to be visible as code in time.  We need a flush_icache_page()
> implementation to fix this; the following adds that and
> flush_icache_range() also.  It does fix gdb for me on my a500.

Good find! I'll give it a try.  Can you now print function results?

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)