forked from Imagelibrary/binutils-gdb
Add support for setting model name and other things
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
|
||||
#include "psim.h"
|
||||
#include "function_unit.h"
|
||||
#include "options.h"
|
||||
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
@@ -109,7 +110,7 @@ main(int argc, char **argv)
|
||||
trace_option(optarg);
|
||||
break;
|
||||
case 'm':
|
||||
function_unit_model(optarg);
|
||||
model_set(optarg);
|
||||
break;
|
||||
case 'i':
|
||||
print_info = 1;
|
||||
@@ -125,6 +126,9 @@ main(int argc, char **argv)
|
||||
usage();
|
||||
name_of_file = argv[optind];
|
||||
|
||||
if (ppc_trace[trace_opts])
|
||||
print_options ();
|
||||
|
||||
/* create the simulator */
|
||||
system = psim_create(name_of_file);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user