URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 306 |
Rev 331 |
Line 50... |
Line 50... |
#include "coff.h"
|
#include "coff.h"
|
|
|
#include "gdbcomm.h"
|
#include "gdbcomm.h"
|
|
|
/* CVS revision number. */
|
/* CVS revision number. */
|
const char rcsrev[] = "$Revision: 1.40 $";
|
const char rcsrev[] = "$Revision: 1.41 $";
|
|
|
/* Continuos run versus single step tracing switch. */
|
/* Continuos run versus single step tracing switch. */
|
int cont_run;
|
int cont_run;
|
|
|
/* History of execution */
|
/* History of execution */
|
Line 230... |
Line 230... |
exit(1);
|
exit(1);
|
}
|
}
|
}
|
}
|
|
|
/* Disable gdb debugging, if debug module is not available. */
|
/* Disable gdb debugging, if debug module is not available. */
|
if (!config.debug.enabled)
|
if (!config.debug.enabled) {
|
config.debug.gdb_enabled = 0;
|
config.debug.gdb_enabled = 0;
|
|
if (config.sim.verbose)
|
|
fprintf (stderr, "WARNING: Debug module not enabled, cannot start gdb.\n");
|
|
}
|
|
|
|
/* Enable dependency stats, if we want to do history analisis */
|
|
if (config.cpu.history && !config.cpu.dependency) {
|
|
config.cpu.dependency = 1;
|
|
if (config.sim.verbose)
|
|
fprintf (stderr, "WARNING: dependency stats must be enabled to do history analisis.\n");
|
|
}
|
|
|
/* Start VAPI before device initialization. */
|
/* Start VAPI before device initialization. */
|
if (config.vapi.enabled) {
|
if (config.vapi.enabled) {
|
vapi_init ();
|
vapi_init ();
|
if (config.sim.verbose)
|
if (config.sim.verbose)
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.