HomeSort by relevance Sort by last modified time
    Searched refs:breakpoint (Results 1 - 25 of 146) sorted by null

1 2 3 4 5 6

  /external/ltrace/
breakpoint.h 37 * low-level breakpoint, likely without tracepoint attached.
47 void (*on_hit)(struct breakpoint *bp, struct process *proc);
48 void (*on_continue)(struct breakpoint *bp, struct process *proc);
49 void (*on_install)(struct breakpoint *bp, struct process *proc);
50 void (*on_retract)(struct breakpoint *bp, struct process *proc);
52 /* Create a new breakpoint that should handle return from the
53 * function. BP is the breakpoint that was just hit and for
54 * which we wish to find the corresponding return breakpoint.
56 * been initialized to desired breakpoint object, or NULL if
58 int (*get_return_bp)(struct breakpoint **ret
62 struct breakpoint { struct
    [all...]
forward.h 25 struct breakpoint;
breakpoints.c 37 #include "breakpoint.h"
63 breakpoint_on_hit(struct breakpoint *bp, struct process *proc)
71 breakpoint_on_continue(struct breakpoint *bp, struct process *proc)
81 breakpoint_on_retract(struct breakpoint *bp, struct process *proc)
89 breakpoint_on_install(struct breakpoint *bp, struct process *proc)
97 breakpoint_get_return_bp(struct breakpoint **ret,
98 struct breakpoint *bp, struct process *proc)
112 struct breakpoint *
120 struct breakpoint *found;
128 os_breakpoint_init(struct process *proc, struct breakpoint *sbp
    [all...]
common.h 57 struct breakpoint;
backend.h 42 * on the same OS (e.g. a way to insert a breakpoint into the process
110 /* Enable breakpoint SBP in process PROC. */
111 void enable_breakpoint(struct process *proc, struct breakpoint *sbp);
113 /* Disable breakpoint SBP in process PROC. */
114 void disable_breakpoint(struct process *proc, struct breakpoint *sbp);
137 /* Called after we hit a breakpoint SBP. Should do whatever
139 void continue_after_breakpoint(struct process *proc, struct breakpoint *sbp);
178 * Returning NULL delays breakpoint insertion and enables heaps of
191 * should insert an introspection breakpoint for handling dynamic
237 int os_breakpoint_init(struct process *proc, struct breakpoint *sbp)
    [all...]
  /external/lldb/test/api/multithreaded/
test_breakpoint_callback.cpp 3 // SBBreakpoint.SetCallback() is invoked when a breakpoint is hit.
35 SBBreakpoint breakpoint = target.BreakpointCreateByName("next"); local
36 if (!breakpoint.IsValid()) throw Exception("invalid breakpoint");
37 breakpoint.SetCallback(BPCallback, 0);
46 throw Exception("Breakpoint hit count expected to be 1");
listener_test.cpp 2 // a breakpoint.
36 SBBreakpoint breakpoint = target.BreakpointCreateByName("next"); local
37 if (!breakpoint.IsValid()) throw Exception("invalid breakpoint");
  /external/lldb/test/python_api/default-constructor/
sb_breakpointlocation.py 25 breakpoint = obj.GetBreakpoint()
26 # Do fuzz testing on the breakpoint obj, it should not crash lldb.
28 sb_breakpoint.fuzz_obj(breakpoint)
  /external/lldb/examples/python/
jump.py 17 breakpoint = None
32 breakpoint = target.BreakpointCreateByLocation (line_entry.GetFileSpec(), line_number)
44 breakpoint = target.BreakpointCreateByLocation(line_entry.GetFileSpec(), (line_entry.GetLine() + line_number))
56 breakpoint = target.BreakpointCreateByLocation(line_entry.GetFileSpec(), (line_entry.GetLine() - line_number))
65 breakpoint = target.BreakpointCreateByLocation(file_name, line_number)
73 breakpoint = target.BreakpointCreateByAddress(address)
77 breakpoint = target.BreakpointCreateByName(linespec)
79 num_locations = breakpoint.GetNumLocations()
87 location = breakpoint.GetLocationAtIndex(location_index)
90 target.BreakpointDelete(breakpoint.GetID()
    [all...]
  /external/lldb/test/functionalities/breakpoint/breakpoint_conditions/
TestBreakpointConditions.py 2 Test breakpoint conditions with 'breakpoint modify -c <expr> id'.
13 mydir = os.path.join("functionalities", "breakpoint", "breakpoint_conditions")
18 """Exercise breakpoint condition with 'breakpoint modify -c <expr> id'."""
25 """Exercise breakpoint condition inline with 'breakpoint set'."""
33 """Use Python APIs to set breakpoint conditions."""
39 """Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.""
    [all...]
  /external/ltrace/sysdeps/linux-gnu/arm/
breakpoint.c 22 * Modified from sysdeps/linux-gnu/breakpoint.c and added ARM Thumb support.
29 #include "breakpoint.h"
34 arch_enable_breakpoint(pid_t pid, struct breakpoint *sbp)
69 arch_disable_breakpoint(pid_t pid, const struct breakpoint *sbp)
95 arch_breakpoint_init(struct process *proc, struct breakpoint *sbp)
106 arch_breakpoint_destroy(struct breakpoint *sbp)
111 arch_breakpoint_clone(struct breakpoint *retp, struct breakpoint *sbp)
  /external/ltrace/sysdeps/linux-gnu/
breakpoint.c 33 #include "breakpoint.h"
38 extern void arch_enable_breakpoint(pid_t, struct breakpoint *);
41 arch_enable_breakpoint(pid_t pid, struct breakpoint *sbp)
82 enable_breakpoint(struct process *proc, struct breakpoint *sbp)
90 extern void arch_disable_breakpoint(pid_t, const struct breakpoint *sbp);
93 arch_disable_breakpoint(pid_t pid, const struct breakpoint *sbp)
130 disable_breakpoint(struct process *proc, struct breakpoint *sbp)
trace.h 50 * Breakpoint re-enablement. When we hit a breakpoint, we must
53 * otherwise the processes would race for who sees the breakpoint
65 struct breakpoint *breakpoint_being_enabled;
68 struct breakpoint *sws_bps[2];
111 (struct process *proc, struct breakpoint *sbp,
  /external/lldb/test/python_api/lldbutil/iter/
TestLLDBIterator.py 46 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.line1)
47 self.assertTrue(breakpoint, VALID_BREAKPOINT)
77 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.line1)
78 self.assertTrue(breakpoint, VALID_BREAKPOINT)
79 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.line2)
80 self.assertTrue(breakpoint, VALID_BREAKPOINT)
106 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.line1)
107 self.assertTrue(breakpoint, VALID_BREAKPOINT)
  /external/lldb/test/functionalities/expr-doesnt-deadlock/
TestExprDoesntBlock.py 44 # Now create a breakpoint at source line before call_me_to_get_lock gets called.
47 breakpoint = target.BreakpointCreateBySourceRegex('Break here', main_file_spec)
49 print "breakpoint:", breakpoint
50 self.assertTrue(breakpoint and
51 breakpoint.GetNumLocations() == 1,
61 self.assertTrue(thread.IsValid(), "There should be a thread stopped due to breakpoint condition")
  /external/lldb/test/functionalities/fat_archives/
TestFatArchives.py 37 set a breakpoint in the target and verify any breakpoint locations have valid debug
44 # Create a breakpoint by name
45 breakpoint = target.BreakpointCreateByName ('foo', exe)
46 self.assertTrue(breakpoint, VALID_BREAKPOINT)
48 # Make sure the breakpoint resolves to a function, file and line
49 for bp_loc in breakpoint:
50 # Get a section offset address (lldb.SBAddress) from the breakpoint location
54 self.assertTrue(function.IsValid(), "Verify breakpoint in fat BSD archive has valid function debug info")
55 self.assertTrue(line_entry.GetFileSpec(), "Verify breakpoint in fat BSD archive has source file information"
    [all...]
  /external/v8/test/mjsunit/
debug-clearbreakpoint.js 36 var breakpoint = -1; variable
71 testArguments(dcp, '{"breakpoint":0}', false);
72 testArguments(dcp, '{"breakpoint":' + (breakpoint + 1)+ '}', false);
73 testArguments(dcp, '{"breakpoint":"xx"}', false);
76 testArguments(dcp, '{"breakpoint":' + breakpoint + '}', true);
79 testArguments(dcp, '{"breakpoint":' + breakpoint + '}', false);
95 breakpoint = Debug.setBreakPoint(g, 0, 0)
    [all...]
debug-enable-disable-breakpoints.js 51 // Set a breakpoint in f.
56 // Disable the breakpoint.
61 // Enable the breakpoint.
66 // Set another breakpoint in f at the same place.
71 // Disable the second breakpoint.
76 // Disable the first breakpoint.
87 // Disable the first breakpoint.
97 // Enable the first breakpoint.
  /external/lldb/test/python_api/watchpoint/watchlocation/
TestTargetWatchAddress.py 65 # Now create a breakpoint on main.c.
66 breakpoint = target.BreakpointCreateByLocation(self.source, self.line)
67 self.assertTrue(breakpoint and
68 breakpoint.GetNumLocations() == 1,
74 # We should be stopped due to the breakpoint. Get frame #0.
124 # Now create a breakpoint on main.c.
125 breakpoint = target.BreakpointCreateByLocation(self.source, self.line)
126 self.assertTrue(breakpoint and
127 breakpoint.GetNumLocations() == 1,
133 # We should be stopped due to the breakpoint. Get frame #0
    [all...]
  /external/lldb/test/functionalities/thread/exit_during_break/
TestExitDuringBreak.py 19 """Test thread exit during breakpoint handling."""
27 """Test thread exit during breakpoint handling."""
34 # Find the line number for our breakpoint.
35 self.breakpoint = line_number('main.cpp', '// Set breakpoint here')
38 """Test thread exit during breakpoint handling."""
42 # This should create a breakpoint in the main thread.
43 lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.breakpoint, num_expected_locations=1)
45 # The breakpoint list should show 1 location.
46 self.expect("breakpoint list -f", "Breakpoint location shown correctly"
    [all...]
  /external/lldb/test/functionalities/thread/multi_break/
TestMultipleBreakpoints.py 34 # Find the line number for our breakpoint.
35 self.breakpoint = line_number('main.cpp', '// Set breakpoint here')
42 # This should create a breakpoint in the main thread.
43 lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.breakpoint, num_expected_locations=1)
45 # The breakpoint list should show 1 location.
46 self.expect("breakpoint list -f", "Breakpoint location shown correctly",
47 substrs = ["1: file = 'main.cpp', line = %d, locations = 1" % self.breakpoint])
52 # The stop reason of the thread should be breakpoint
    [all...]
  /external/lldb/test/lang/objc/objc-ivar-stripped/
TestObjCIvarStripped.py 26 self.stop_line = line_number(self.main_source, '// Set breakpoint here.')
35 breakpoint = target.BreakpointCreateByLocation(self.main_source, self.stop_line)
36 self.assertTrue(breakpoint, VALID_BREAKPOINT)
42 thread_list = lldbutil.get_threads_stopped_at_breakpoint (process, breakpoint)
  /external/valgrind/gdbserver_tests/
nlcontrolc.stdoutB.exp 2 Program received signal SIGTRAP, Trace/breakpoint trap.
17 Program received signal SIGTRAP, Trace/breakpoint trap.
  /external/lldb/source/Target/
ThreadPlanRunToAddress.cpp 90 Breakpoint *breakpoint; local
91 breakpoint = m_thread.CalculateTarget()->CreateBreakpoint (m_addresses[i], true).get();
92 if (breakpoint != NULL)
94 m_break_ids[i] = breakpoint->GetID();
95 breakpoint->SetThreadID(m_thread.GetID());
96 breakpoint->SetBreakpointKind("run-to-address");
156 s->Printf (" using breakpoint: %d - ", m_break_ids[i]);
157 Breakpoint *breakpoint = m_thread.CalculateTarget()->GetBreakpointByID (m_break_ids[i]).get() local
    [all...]
  /external/lldb/test/python_api/frame/
TestFrames.py 44 """Get argument vals for the call stack when stopped on a breakpoint."""
51 # Now create a breakpoint on main.c by name 'c'.
52 breakpoint = target.BreakpointCreateByName('c', 'a.out')
53 #print "breakpoint:", breakpoint
54 self.assertTrue(breakpoint and
55 breakpoint.GetNumLocations() == 1,
121 print "Full stack traces when stopped on the breakpoint 'c':"
135 # Now create a breakpoint on main.c by name 'c'.
136 breakpoint = target.BreakpointCreateByName('c', 'a.out'
    [all...]

Completed in 720 milliseconds

1 2 3 4 5 6