| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/ |
| pc-not-saved.py | 17 from gdb.unwinder import FrameId, Unwinder 24 """Call this to pre-calculate the FrameId for the frame our unwinder 26 frame-id within the unwinder, something which is going to be hard 29 Instead we first run the test without the Python unwinder in 32 the frame-id that the unwinder should use.""" 37 class break_unwinding(Unwinder): 38 """An unwinder for the function 'break_bt_here'. This unwinder will 45 Unwinder.__init__(self, "break unwinding" [all...] |
| premature-dummy-frame-removal.py | 16 # This dummy unwinder will break GDB's backtrce at the function called 20 from gdb.unwinder import Unwinder 37 class TestUnwinder(Unwinder): 39 Unwinder.__init__(self, "break unwinding") 60 gdb.unwinder.register_unwinder(None, TestUnwinder(), True)
|
| inline-frame-cycle-unwind.py | 17 from gdb.unwinder import Unwinder 20 # This will only work for frame 1, 3, or 5 in the test this unwinder 44 class TestUnwinder(Unwinder): 46 Unwinder.__init__(self, "stop at level") 64 unwinder = pending_frame.create_unwind_info(FrameId(sp, pc)) 68 unwinder.add_saved_register(reg, val) 69 return unwinder 72 gdb.unwinder.register_unwinder(None, TestUnwinder(), True)
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.python/ |
| py-pending-frame-level.py | 17 from gdb.unwinder import Unwinder 34 class TestUnwinder(Unwinder): 36 Unwinder.__init__(self, "show level") 51 # This unwinder never claims any frames. 55 gdb.unwinder.register_unwinder(None, TestUnwinder(), True)
|
| py-unwind-maint.py | 21 from gdb.unwinder import Unwinder, register_unwinder 24 class TestGlobalUnwinder(Unwinder): 33 class TestProgspaceUnwinder(Unwinder): 42 class TestObjfileUnwinder(Unwinder): 51 gdb.unwinder.register_unwinder(None, TestGlobalUnwinder()) 54 gdb.unwinder.register_unwinder(None, TestGlobalUnwinder(), replace=False) 59 gdb.unwinder.register_unwinder(None, TestGlobalUnwinder(), replace=True) 60 gdb.unwinder.register_unwinder(
|
| py-recurse-unwind.py | 16 # This unwinder never does any unwinding. It'll (pretend to) "sniff" 18 # should be performed by some other unwinder. 24 # this unwinder. If that should happen, code contained herein detects 29 from gdb.unwinder import Unwinder 32 class TestUnwinder(Unwinder): 50 Unwinder.__init__(self, "test unwinder") 64 # gdb.write("In unwinder: pc=%x\n" % pc_as_int) 69 # gdb.write("In unwinder: pc=%x\n" % pc_as_int [all...] |
| py-unwind-inline.py | 16 # A dummy stack unwinder used for testing the Python unwinders when we 17 # have inline frames. This unwinder will never claim any frames, 22 from gdb.unwinder import Unwinder 27 class dummy_unwinder(Unwinder): 28 """A dummy unwinder that looks at a bunch of registers as part of 40 """Create the unwinder.""" 41 Unwinder.__init__(self, "dummy stack unwinder") 58 to see if the unwinder should claim it, which is never does."" [all...] |
| py-unwind-user-regs.py | 17 from gdb.unwinder import Unwinder 34 class TestUnwinder(Unwinder): 41 Unwinder.__init__(self, "break unwinding %s" % tag) 61 unwinder = pending_frame.create_unwind_info(fid) 63 unwinder.add_saved_register(pc_desc, pc) 64 unwinder.add_saved_register(sp_desc, sp) 66 unwinder.add_saved_register("pc", pc) 67 unwinder.add_saved_register("sp", sp) 68 return unwinder [all...] |
| py-unwind.py | 17 from gdb.unwinder import FrameId, Unwinder 24 class TestUnwinder(Unwinder): 30 Unwinder.__init__(self, "test unwinder") 45 """Test unwinder written in Python. 47 This unwinder can unwind the frames that have been deliberately 66 This unwinder recognizes the corrupt frames by checking that 81 # NOTE: the registers in Unwinder API can be referenced 131 gdb.unwinder.register_unwinder(None, global_test_unwinder, True [all...] |
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/ |
| pc-not-saved.py | 17 from gdb.unwinder import FrameId, Unwinder 24 """Call this to pre-calculate the FrameId for the frame our unwinder 26 frame-id within the unwinder, something which is going to be hard 29 Instead we first run the test without the Python unwinder in 32 the frame-id that the unwinder should use.""" 37 class break_unwinding(Unwinder): 38 """An unwinder for the function 'break_bt_here'. This unwinder will 45 Unwinder.__init__(self, "break unwinding" [all...] |
| premature-dummy-frame-removal.py | 16 # This dummy unwinder will break GDB's backtrce at the function called 20 from gdb.unwinder import Unwinder 37 class TestUnwinder(Unwinder): 39 Unwinder.__init__(self, "break unwinding") 60 gdb.unwinder.register_unwinder(None, TestUnwinder(), True)
|
| inline-frame-cycle-unwind.py | 17 from gdb.unwinder import Unwinder 20 # This will only work for frame 1, 3, or 5 in the test this unwinder 44 class TestUnwinder(Unwinder): 46 Unwinder.__init__(self, "stop at level") 64 unwinder = pending_frame.create_unwind_info(FrameId(sp, pc)) 68 unwinder.add_saved_register(reg, val) 69 return unwinder 72 gdb.unwinder.register_unwinder(None, TestUnwinder(), True)
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.python/ |
| py-pending-frame-level.py | 17 from gdb.unwinder import Unwinder 34 class TestUnwinder(Unwinder): 36 Unwinder.__init__(self, "show level") 51 # This unwinder never claims any frames. 55 gdb.unwinder.register_unwinder(None, TestUnwinder(), True)
|
| py-unwind-maint.py | 21 from gdb.unwinder import Unwinder, register_unwinder 24 class TestGlobalUnwinder(Unwinder): 33 class TestProgspaceUnwinder(Unwinder): 42 class TestObjfileUnwinder(Unwinder): 51 gdb.unwinder.register_unwinder(None, TestGlobalUnwinder()) 54 gdb.unwinder.register_unwinder(None, TestGlobalUnwinder(), replace=False) 59 gdb.unwinder.register_unwinder(None, TestGlobalUnwinder(), replace=True) 60 gdb.unwinder.register_unwinder(
|
| py-recurse-unwind.py | 16 # This unwinder never does any unwinding. It'll (pretend to) "sniff" 18 # should be performed by some other unwinder. 24 # this unwinder. If that should happen, code contained herein detects 29 from gdb.unwinder import Unwinder 32 class TestUnwinder(Unwinder): 50 Unwinder.__init__(self, "test unwinder") 64 # gdb.write("In unwinder: pc=%x\n" % pc_as_int) 69 # gdb.write("In unwinder: pc=%x\n" % pc_as_int [all...] |
| py-unwind-inline.py | 16 # A dummy stack unwinder used for testing the Python unwinders when we 17 # have inline frames. This unwinder will never claim any frames, 22 from gdb.unwinder import Unwinder 27 class dummy_unwinder(Unwinder): 28 """A dummy unwinder that looks at a bunch of registers as part of 40 """Create the unwinder.""" 41 Unwinder.__init__(self, "dummy stack unwinder") 58 to see if the unwinder should claim it, which is never does."" [all...] |
| py-unwind-user-regs.py | 17 from gdb.unwinder import Unwinder 34 class TestUnwinder(Unwinder): 41 Unwinder.__init__(self, "break unwinding %s" % tag) 61 unwinder = pending_frame.create_unwind_info(fid) 63 unwinder.add_saved_register(pc_desc, pc) 64 unwinder.add_saved_register(sp_desc, sp) 66 unwinder.add_saved_register("pc", pc) 67 unwinder.add_saved_register("sp", sp) 68 return unwinder [all...] |
| py-unwind.py | 17 from gdb.unwinder import FrameId, Unwinder 24 class TestUnwinder(Unwinder): 30 Unwinder.__init__(self, "test unwinder") 45 """Test unwinder written in Python. 47 This unwinder can unwind the frames that have been deliberately 66 This unwinder recognizes the corrupt frames by checking that 81 # NOTE: the registers in Unwinder API can be referenced 131 gdb.unwinder.register_unwinder(None, global_test_unwinder, True [all...] |
| /src/external/gpl3/gdb/dist/gdb/python/lib/gdb/ |
| unwinder.py | 16 """Unwinder class and register_unwinder function.""" 21 class Unwinder(object): 24 An unwinder has a single method __call__ and the attributes 28 name: The name of the unwinder. 29 enabled: A boolean indicating whether the unwinder is enabled. 36 name: An identifying name for the unwinder. 69 raise NotImplementedError("Unwinder __call__.") 98 def register_unwinder(locus, unwinder, replace=False): 99 """Register unwinder in given locus. 101 The unwinder is prepended to the locus's unwinders list. Unwinde [all...] |
| /src/external/gpl3/gdb.old/dist/gdb/python/lib/gdb/ |
| unwinder.py | 16 """Unwinder class and register_unwinder function.""" 21 class Unwinder(object): 24 An unwinder has a single method __call__ and the attributes 28 name: The name of the unwinder. 29 enabled: A boolean indicating whether the unwinder is enabled. 36 name: An identifying name for the unwinder. 69 raise NotImplementedError("Unwinder __call__.") 98 def register_unwinder(locus, unwinder, replace=False): 99 """Register unwinder in given locus. 101 The unwinder is prepended to the locus's unwinders list. Unwinde [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/ |
| PerfReader.cpp | 16 static cl::opt<bool> ShowUnwinderOutput("show-unwinder-output", 19 cl::desc("Print unwinder output")); 401 VirtualUnwinder Unwinder(&BinarySampleCounters[Sample->Binary], 403 Unwinder.unwind(Sample, Item.second);
|