main.py (3645:2bf1f7c69254) main.py (3887:4a565b35bdee)
1# Copyright (c) 2005 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

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

299 objects.ExecutionTrace.print_fetchseq = options.print_fetch_seq
300 objects.ExecutionTrace.print_cpseq = options.print_cpseq
301 #objects.ExecutionTrace.print_reg_delta = options.print_reg_delta
302 objects.ExecutionTrace.legion_lockstep = options.legion_lock
303
304 sys.argv = arguments
305 sys.path = [ os.path.dirname(sys.argv[0]) ] + sys.path
306
1# Copyright (c) 2005 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

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

299 objects.ExecutionTrace.print_fetchseq = options.print_fetch_seq
300 objects.ExecutionTrace.print_cpseq = options.print_cpseq
301 #objects.ExecutionTrace.print_reg_delta = options.print_reg_delta
302 objects.ExecutionTrace.legion_lockstep = options.legion_lock
303
304 sys.argv = arguments
305 sys.path = [ os.path.dirname(sys.argv[0]) ] + sys.path
306
307 scope = { '__file__' : sys.argv[0] }
307 scope = { '__file__' : sys.argv[0],
308 '__name__' : '__m5_main__' }
308
309 # we want readline if we're doing anything interactive
310 if options.interactive or options.pdb:
311 exec("import readline", scope)
312
313 # if pdb was requested, execfile the thing under pdb, otherwise,
314 # just do the execfile normally
315 if options.pdb:

--- 22 unchanged lines hidden ---
309
310 # we want readline if we're doing anything interactive
311 if options.interactive or options.pdb:
312 exec("import readline", scope)
313
314 # if pdb was requested, execfile the thing under pdb, otherwise,
315 # just do the execfile normally
316 if options.pdb:

--- 22 unchanged lines hidden ---