Re: [Gems-users] Ruby debugging


Date: Mon, 26 Jun 2006 08:58:12 -0500 (CDT)
From: Mike Marty <mikem@xxxxxxxxxxx>
Subject: Re: [Gems-users] Ruby debugging
L2_cache_num_sets_bits is changed at runtime in RubyConfig.C

You can configure any parameter at runtime, in Simics, with the
ruby0.setparam commands

To configure parameters at runtime using the tester, you will need to add
command-line flags to test_framework.C

--Mike


> Hi all.  I'm trying to debug ruby by using gdb with tester.exec., but
> I have a problem: if I put a breakpoint in RubyConfig.c, I see that
> some parameters of memory configuration are different from those
> defined in rubyconfig.defaults  (for instance, L2_cache_num_sets_bits)
> , so every time at least one assert in RubyConfig.c fails and program
> aborts. My question is:  where should I define all parameters of
> memory configuration when I use tester.exec, possibly without
> recompiling ruby nor the tester?
> Sorry to be a nuisance. Thank you very much.
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
>
[← Prev in Thread] Current Thread [Next in Thread→]