Re: [Gems-users] Debugging


Date: Mon, 5 Apr 2010 02:11:15 -0500
From: Byn Choi <bynchoi1@xxxxxxxxxxxx>
Subject: Re: [Gems-users] Debugging
http://www.cs.wisc.edu/gems/doc/gems-wiki/moin.cgi/Debugging_Ruby_README

On Apr 5, 2010, at 12:42 AM, Mahmood Naderan wrote:

Hi,
Sorry if I ask many questions. In controlop.C, there is a function:
void control_inst_t::printDetail( void )
{
  DEBUG_OUT( "control_inst_t\n");
  DEBUG_OUT( "type    : %s\n",
                    pstate_t::branch_type_menomic[s->getBranchType()] );
  DEBUG_OUT("offset  : 0x%0llx\n", s->getOffset());
  DEBUG_OUT("isTaken : %d\n", m_isTaken);
  DEBUG_OUT("Predicted Target :\n");
  m_pseq->printPC( &m_predicted );
  DEBUG_OUT("Actual Target :\n");
  m_pseq->printPC( &m_actual );
}

The problem is nowhere in the output file, I can see this information. It seems that the program isn't run in the debug mode.
1- How can I enable that?
2- How it is possible to set breakpoints in the program?

// Naderan *Mahmood;
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.


[← Prev in Thread] Current Thread [Next in Thread→]