HomeSort by: relevance | last modified time | path
    Searched refs:unwinder (Results 1 - 25 of 40) sorted by relevancy

1 2

  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.python/
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-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-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-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...]
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.python/
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-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-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-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...]
  /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...]
__init__.py 98 Runs each currently enabled unwinder until it finds the one that
108 [1] Name of unwinder that claimed the frame (type `str`)
110 or None, if no unwinder has claimed the frame.
113 for unwinder in objfile.frame_unwinders:
114 if unwinder.enabled:
115 unwind_info = unwinder(pending_frame)
117 return (unwind_info, unwinder.name)
119 for unwinder in current_progspace().frame_unwinders:
120 if unwinder.enabled:
121 unwind_info = unwinder(pending_frame
    [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...]
__init__.py 97 Runs each currently enabled unwinder until it finds the one that
107 [1] Name of unwinder that claimed the frame (type `str`)
109 or None, if no unwinder has claimed the frame.
112 for unwinder in objfile.frame_unwinders:
113 if unwinder.enabled:
114 unwind_info = unwinder(pending_frame)
116 return (unwind_info, unwinder.name)
118 for unwinder in current_progspace().frame_unwinders:
119 if unwinder.enabled:
120 unwind_info = unwinder(pending_frame
    [all...]
  /src/external/gpl3/gdb/dist/gdb/
frame-unwind.c 1 /* Definitions for frame unwinder, for GDB, the GNU debugger.
36 const struct frame_unwind *unwinder; member in struct:frame_unwind_table_entry
50 /* A helper function to add an unwinder to a list. LINK says where to
51 install the new unwinder. The new link is returned. */
54 add_unwinder (struct obstack *obstack, const struct frame_unwind *unwinder,
58 (*link)->unwinder = unwinder;
83 unwinder, and it also found tailcall information. */
96 const struct frame_unwind *unwinder)
103 entry->unwinder = unwinder
    [all...]
tramp-frame.c 1 /* Signal trampoline unwinder, for GDB the GNU Debugger.
151 struct frame_unwind *unwinder; local
164 unwinder = GDBARCH_OBSTACK_ZALLOC (gdbarch, struct frame_unwind);
167 unwinder->type = tramp_frame->frame_type;
168 unwinder->unwind_data = data;
169 unwinder->sniffer = tramp_frame_sniffer;
170 unwinder->stop_reason = default_frame_unwind_stop_reason;
171 unwinder->this_id = tramp_frame_this_id;
172 unwinder->prev_register = tramp_frame_prev_register;
173 unwinder->prev_arch = tramp_frame->prev_arch
    [all...]
  /src/external/gpl3/gdb.old/dist/gdb/
frame-unwind.c 1 /* Definitions for frame unwinder, for GDB, the GNU debugger.
36 const struct frame_unwind *unwinder; member in struct:frame_unwind_table_entry
50 /* A helper function to add an unwinder to a list. LINK says where to
51 install the new unwinder. The new link is returned. */
54 add_unwinder (struct obstack *obstack, const struct frame_unwind *unwinder,
58 (*link)->unwinder = unwinder;
83 unwinder, and it also found tailcall information. */
96 const struct frame_unwind *unwinder)
103 entry->unwinder = unwinder
    [all...]
tramp-frame.c 1 /* Signal trampoline unwinder, for GDB the GNU Debugger.
151 struct frame_unwind *unwinder; local
164 unwinder = GDBARCH_OBSTACK_ZALLOC (gdbarch, struct frame_unwind);
167 unwinder->type = tramp_frame->frame_type;
168 unwinder->unwind_data = data;
169 unwinder->sniffer = tramp_frame_sniffer;
170 unwinder->stop_reason = default_frame_unwind_stop_reason;
171 unwinder->this_id = tramp_frame_this_id;
172 unwinder->prev_register = tramp_frame_prev_register;
173 unwinder->prev_arch = tramp_frame->prev_arch
    [all...]
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
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)
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)
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
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)
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)
  /src/external/gpl3/gdb/dist/gdb/python/lib/gdb/command/
unwinders.py 0 # Unwinder commands.
30 """Internal utility to parse unwinder command argv.
55 validate_regexp(name_regexp, "unwinder"),
62 Usage: info unwinder [LOCUS-REGEXP [NAME-REGEXP]]
65 unwinder. If it is omitted, all registered unwinders from all
70 NAME-REGEXP is a regular expression to filter unwinder names. If
75 super(InfoUnwinder, self).__init__("info unwinder", gdb.COMMAND_STACK)
83 name_re: unwinder name filter.
88 for unwinder in unwinders:
89 if name_re.match(unwinder.name)
    [all...]
  /src/external/gpl3/gdb.old/dist/gdb/python/lib/gdb/command/
unwinders.py 0 # Unwinder commands.
30 """Internal utility to parse unwinder command argv.
55 validate_regexp(name_regexp, "unwinder"),
62 Usage: info unwinder [LOCUS-REGEXP [NAME-REGEXP]]
65 unwinder. If it is omitted, all registered unwinders from all
70 NAME-REGEXP is a regular expression to filter unwinder names. If
75 super(InfoUnwinder, self).__init__("info unwinder", gdb.COMMAND_STACK)
83 name_re: unwinder name filter.
88 for unwinder in unwinders:
89 if name_re.match(unwinder.name)
    [all...]

Completed in 41 milliseconds

1 2