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

Richard Hirst rhirst@linuxcare.com
Fri, 31 May 2002 00:55:59 +0100


On Wed, May 29, 2002 at 10:09:27AM -0400, John David Anglin wrote:
> > You mean like
> > 
> > Breakpoint 1, main (argc=1, argv=0xbff00148) at ../simple.c:16
> > 16              a = thing(1);
> > (gdb) print thing(7)
> 
> Yes.  I find this an extremely useful feature in debugging gcc.  It
> has various hooks to print rtl and tree structs that I miss not being
> able to use.

I've got this semi-working now.  Simple cases like the example above now
work (thing(n) returns n*2).  Other cases, such as print strlen("abc")
crash the target program.  I'll keep working on it and post a diff once
it works for a few more cases.

Richard