ifdef out uses of simSTOP, simSTEP and simBE when DEBUG is defined.
This commit is contained in:
parent
6e61ecfc92
commit
d3d2a9f718
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu May 22 09:32:03 1997 Gavin Koch <gavin@cygnus.com>
|
||||
|
||||
* interp.c (sim_engine_run): ifdef out uses of simSTOP, simSTEP
|
||||
and simBE when DEBUG is defined.
|
||||
|
||||
Wed May 21 09:08:10 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* interp.c (interrupt_event): New function. Pass exception event
|
||||
|
|
|
@ -4140,11 +4140,15 @@ sim_engine_run (sd, next_cpu_nr, siggnal)
|
|||
#ifdef DEBUG
|
||||
{
|
||||
printf("DBG: state = 0x%08X :",state);
|
||||
#if 0
|
||||
if (state & simSTOP) printf(" simSTOP");
|
||||
if (state & simSTEP) printf(" simSTEP");
|
||||
#endif
|
||||
if (state & simHALTEX) printf(" simHALTEX");
|
||||
if (state & simHALTIN) printf(" simHALTIN");
|
||||
#if 0
|
||||
if (state & simBE) printf(" simBE");
|
||||
#endif
|
||||
printf("\n");
|
||||
}
|
||||
#endif /* DEBUG */
|
||||
|
|
Loading…
Reference in a new issue