Strange, I've never had that problem.  It's really a gdb issue, I'd say, but
one way to get around it is to go into src/mem/cache/config/cache.hh and
comment out everything except the USE_CACHE_LRU line so those other caches
don't get compiled in.

Steve

2011/1/7 Shinya Hashiguchi <[email protected]>

> Hello,
>
> I use gdb (with m5.debug). Here, I have a question.
>
> When I set a break point about cache, template <TagStore> is automatically
> selected 'FALRU'.
>
> But, I want to select 'LRU'.
>
> Why is FALRU selected ? Please give me a solution.
>
> Messages about the break point is below. Thanks.
>
>
> ----------------------------------------------------------------------------------------------------------------------
>
> $ gdb ../build/ALPHA_SE/m5.debug
> GNU gdb Red Hat Linux (6.3.0.0-1.159.el4rh)
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "x86_64-redhat-linux-gnu"...Using host
> libthread_db library "/lib64/tls/libthread_db.so.1".
>
> (gdb) b cache_impl.hh:762
> Breakpoint 1 at 0x827624: file build/ALPHA_SE/mem/cache/cache_impl.hh, line
> 762.
> (gdb) info b
> Num Type           Disp Enb Address            What
> 1   breakpoint     keep y   0x0000000000827624 in
> Cache<FALRU>::timingAccess(Packet*) at
> build/ALPHA_SE/mem/cache/cache_impl.hh:762
>
>
> ----------------------------------------------------------------------------------------------------------------------
>
>
> --
> Shinya Hashiguchi(e-mail:[email protected])
>
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
>
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to