URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 480 to Rev 481
- ↔ Reverse comparison
Rev 480 → Rev 481
/trunk/or1ksim/sim-config.c
134,8 → 134,13
} else |
if (strcmp(*argv, "-f") == 0 || strcmp(*argv, "--file") == 0) { |
argv++; argc--; |
read_script_file(argv[0]); |
argv++; argc--; |
if (argv[0]) { |
read_script_file(argv[0]); |
argv++; argc--; |
} else { |
fprintf(stderr, "Configure filename not specified!\n"); |
return 1; |
} |
} else |
if (strcmp(*argv, "--nosrv") == 0) { /* (CZ) */ |
config.debug.gdb_enabled = 0; |
164,7 → 169,7
config.sim.profile = 1; |
argv++; argc--; |
} else { |
printf("Unknown option: %s\n", *argv); |
fprintf(stderr, "Unknown option: %s\n", *argv); |
return 1; |
} |
} |