> 
> 
> Exactly true.. I left empty "build result" and it worked..Thanks a lot,Burak
> 2012/1/11 Mahmood Naderan <mahmood.nt <at> gmail.com>Your assumptions
seems to be true. However I think you should leave
> "build result" empty as the scons will automatically create the
> directory (the one in your build command)
> 
> On 1/11/12, Mehmet Burak Aykenar <mbaykenar <at> etu.edu.tr> wrote:
> > Hi everyone,
> >
> > I want to ask if anyone using Netbeans for opening gem5 as a C/C++
> > project.. Handling files one by one in a simple text editor is a difficult
> > way, so I wanted to open gem5 as a project..
> > However, I couldn't be sure when Netbeans asks me to enter the cleaning and
> > building actions.. What Netbeans asks is:
> >
> > - Working Directory: /home/aykenar/GEM5
> > - Build Command: ... # I assume I should write "scons
> > build/ALPHA_SE/gem5.opt"
> > - Clean Command: ... # I assume I should write "scons -c
> > build/ALPHA_SE/gem5.opt"
> > - Build Result: ... # Iassume I should write "build/ALPHA_SE"
> >
> > I didn't find any information in scons website for opening projects in
> > Netbeans..
> > Based on my assumptions I didn't want to do the cleaning and building
> > process because If I make any mistake then I need to build the gem5 again
> > and again while trying to do this..
> > If anyone has done this before, please help on this to me..
> >
> > Thanks in advance,
> > Burak
> > --
> > *Mehmet Burak AYKENAR> Graduate Student of Computer Engineering
> > Research Assistant
> > **TOBB ETU Z-10
> > Microprocessors Laboratory*
> > *
> > mbaykenar.etu.edu.tr
> > mbaykenar <at> etu.edu.tr*
> >
> --
> --
> // Naderan *Mahmood;
> _______________________________________________
> gem5-users mailing listgem5-users <at>
gem5.orghttp://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> !DSPAM:6374,4f0d46467442448318341!
> 
> 
> -- Mehmet Burak AYKENAR
> Graduate Student of Computer Engineering
> Research AssistantTOBB ETU Z-10Microprocessors
Laboratorymbaykenar.etu.edu.trmbaykenar <at> etu.edu.tr
> 
> 
> _______________________________________________
> gem5-users mailing list
> gem5-users <at> gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


Hi Mehmet,

Thanks to you for your advice, i am able to open gem5 project on Netbeans.

But i am facing 1 issue while debugging code on gem5.
When i am doing step over to move to next line of code, at some times,
instead of moving to the next line, the debugger jumps to some previous
line.I am not able to understand why this is happening.

1.    for (ThreadID tid = 0; tid < numThreads; ++tid) {
2.        thread[tid]->noSquashFromTC = true;
3.        thread[tid]->initMemProxies(thread[tid]->getTC());
    }  
Like in the above loop, after executing line 2, control goes to line 1 i.e. 
line 1 -> line2 -> line1 -> line2 -> line3.

any idea why this is happening.


_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to