|
|
@@ -32,7 +32,7 @@ if location == "":
|
|
|
taskname = "test"
|
|
|
|
|
|
local_print("Switching context to Modelverse: all data is piped.")
|
|
|
-local_print("Available commands: 'attach_debugger', 'detach_debugger', 'pause', 'resume', 'line_step', 'big_step', 'small_step', 'step_into'")
|
|
|
+local_print("Available commands: 'attach_debugger', 'detach_debugger', 'pause', 'resume', 'line_step', 'big_step', 'small_step', 'step_into', 'read_symbols'")
|
|
|
local_print("To quit: execute command 'quit'")
|
|
|
|
|
|
while 1:
|
|
|
@@ -41,7 +41,7 @@ while 1:
|
|
|
if action == "quit":
|
|
|
local_print("Received quit: breaking connection to Modelverse immediately!")
|
|
|
break
|
|
|
- elif action not in set(["attach_debugger", "detach_debugger", "pause", "resume", "line_step", "big_step", "small_step", "step_into"]):
|
|
|
+ elif action not in set(["attach_debugger", "detach_debugger", "pause", "resume", "line_step", "big_step", "small_step", "step_into", "read_symbols"]):
|
|
|
local_print("Invalid action %s" % action)
|
|
|
continue
|
|
|
|
|
|
@@ -55,3 +55,5 @@ while 1:
|
|
|
print "INST: %s" % reply['instruction']
|
|
|
if 'phase' in reply:
|
|
|
print "PHASE: %s" % reply['phase']
|
|
|
+ if 'symbols' in reply:
|
|
|
+ print "SYMB: %s" % reply['symbols']
|