Beispiel #1
0
 def function(self):
     if self.info["name"] is None:
         return FrameDecorator.function(self)
     name = self.info["name"]
     result = "<<" + name
     # If we have a frame, we can extract the callee information
     # from it for display here.
     this_frame = self.info["this_frame"]
     if this_frame is not None:
         if gdb.types.has_field(this_frame.type.target(), "calleeToken_"):
             function = self._decode_jitframe(this_frame)["function"]
             if function is not None:
                 result = result + " " + function
     return result + ">>"
Beispiel #2
0
 def function(self):
     if self.info["name"] is None:
         return FrameDecorator.function(self)
     name = self.info["name"]
     result = "<<" + name
     # If we have a frame, we can extract the callee information
     # from it for display here.
     this_frame = self.info["this_frame"]
     if this_frame is not None:
         if gdb.types.has_field(this_frame.type.target(), "calleeToken_"):
             function = self._decode_jitframe(this_frame)["function"]
             if function is not None:
                 result = result + " " + function
     return result + ">>"
Beispiel #3
0
 def function(self):
     if "name" in self.info:
         return "<<" + self.info["name"] + ">>"
     return FrameDecorator.function(self)
Beispiel #4
0
 def function(self):
     if "name" in self.info:
         return "<<" + self.info["name"] + ">>"
     return FrameDecorator.function(self)