Skip to content
Snippets Groups Projects
Commit af077034 authored by Martin Karsten's avatar Martin Karsten
Browse files

- more formatting of gdb 'info fibres' output

parent 4f19df03
No related branches found
Tags 3.0.0
No related merge requests found
......@@ -146,13 +146,13 @@ class InfoFibres(gdb.Command):
def invoke(self, arg, from_tty):
curr = gdb.parse_and_eval("Context::currStack")
print(" Idx \t Target Ptr \t Frame")
print(" Idx \tTarget\tPtr \t\t Frame")
for i in range(len(FibreSupport.list)):
if (FibreSupport.list[i] == curr):
print("* ", end='')
else:
print(" ", end='')
print(str(i), "\tFibre", str(FibreSupport.list[i]), end='')
print(str(i), "\tFibre\t", str(FibreSupport.list[i]), sep='', end='')
with FibreSupport.get_frame(FibreSupport.list[i]) as frame:
if frame is not None:
# Print instruction pointer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment