Ejemplo n.º 1
0
 def _get_argument(self, argument_description):
     type_, isfloat, size, signed, display = argument_description
     value = self.calling_convention.next_argument(isfloat, size, signed)
     as_value, as_string = util.convert_argument(self.tracer, value,
                                                 display)
     self.argument_values.append(as_value)
     self.argument_strings.append(as_string)
Ejemplo n.º 2
0
 def _get_argument(self, calling_convention, argument_description, tracer):
     type_, isfloat, size, signed, display = argument_description
     value = calling_convention.next_argument(isfloat, size, signed)
     return util.convert_argument(tracer, value, display)
Ejemplo n.º 3
0
 def callback(self, tracer):   # runs when this breakpoint is hit
     calling_convention = self.calling_convention(tracer)
     type_, isfloat, size, signed, display = self.return_type
     value = calling_convention.get_return_value(isfloat, size, signed)
     as_value, as_string = util.convert_argument(tracer, value, display)
     sys.stderr.write(' = %s\n' % as_string)