main.py (12563:8d59ed22ae79) main.py (13663:9b64aeabf9a5)
1# Copyright (c) 2016 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 195 unchanged lines hidden (view full) ---

204
205 from util import inform, fatal, panic, isInteractive
206
207 if len(args) == 0:
208 options, arguments = parse_options()
209 elif len(args) == 2:
210 options, arguments = args
211 else:
1# Copyright (c) 2016 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 195 unchanged lines hidden (view full) ---

204
205 from util import inform, fatal, panic, isInteractive
206
207 if len(args) == 0:
208 options, arguments = parse_options()
209 elif len(args) == 2:
210 options, arguments = args
211 else:
212 raise TypeError, "main() takes 0 or 2 arguments (%d given)" % len(args)
212 raise TypeError("main() takes 0 or 2 arguments (%d given)" % len(args))
213
214 m5.options = options
215
216 def check_tracing():
217 if defines.TRACING_ON:
218 return
219
220 fatal("Tracing is not enabled. Compile with TRACING_ON")

--- 231 unchanged lines hidden ---
213
214 m5.options = options
215
216 def check_tracing():
217 if defines.TRACING_ON:
218 return
219
220 fatal("Tracing is not enabled. Compile with TRACING_ON")

--- 231 unchanged lines hidden ---