summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/resolver.py
blob: c3a5af596d21aac7b19802cb17e21b6d9984f545 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import lldb
import side_effect

class Resolver:
  """This resolver class is just so I can read out the extra_args."""
  
  def __init__(self, bkpt, extra_args, dict):
      self.bkpt = bkpt
      side_effect.g_extra_args = extra_args
    
  def __callback__(self, sym_ctx):
      """Doesn't actually do anything."""
      return

  def get_short_help(self):
      return "I am a python breakpoint resolver that does nothing"