diff --git a/gdb-port/parser-name-instrumentation-gdb.py b/gdb-port/parser-name-instrumentation-gdb.py index 9f5e63c70e38c6d4199d0249632765d5c6a1c912..076a438a689769bcec418c4db9329e79fe8a6ef9 100644 --- a/gdb-port/parser-name-instrumentation-gdb.py +++ b/gdb-port/parser-name-instrumentation-gdb.py @@ -335,7 +335,6 @@ class ParserVirtualBreakpoint(gdb.Breakpoint): block = frame.block() # function name is parse_* # we extract the second part - #TODO: by generating the name based on the VTable, we can name a parser as soon as we see it # This is pretty much the same as naming it based on which parse_* function is called, so long as foo_vt contains parse_foo , and not e.g. parse_bar parser_type = frame.function().name.split("_")[1] parser_name = "(Unnamed " + parser_type + ")"