Home
last modified time | relevance | path

Searched refs:breakpoint (Results 1 – 25 of 242) sorted by relevance

12345678910

/openbsd/src/gnu/usr.bin/binutils/gdb/
Dbreakpoint.h221 struct breakpoint *owner;
270 enum print_stop_action (*print_it) (struct breakpoint *);
273 void (*print_one) (struct breakpoint *, CORE_ADDR *);
277 void (*print_mention) (struct breakpoint *);
288 struct breakpoint struct
290 struct breakpoint *next; argument
352 struct breakpoint *related_breakpoint; argument
506 bpstat bpstat_find_breakpoint (bpstat, struct breakpoint *);
517 extern struct breakpoint *bpstat_find_step_resume_breakpoint (bpstat);
582 struct breakpoint *breakpoint_at;
[all …]
Dbreakpoint.c65 static void enable_delete_breakpoint (struct breakpoint *);
69 static void enable_once_breakpoint (struct breakpoint *);
75 static void map_breakpoint_numbers (char *, void (*)(struct breakpoint *));
94 static int break_command_1 (char *, int, int, struct breakpoint *);
96 static void mention (struct breakpoint *);
98 struct breakpoint *set_raw_breakpoint (struct symtab_and_line, enum bptype);
100 static void check_duplicates (struct breakpoint *);
113 static bpstat bpstat_alloc (struct breakpoint *, bpstat);
173 static void do_enable_breakpoint (struct breakpoint *, enum bpdisp);
260 struct breakpoint *breakpoint_chain;
[all …]
Dgdbthread.h28 struct breakpoint;
47 struct breakpoint *step_resume_breakpoint;
114 struct breakpoint *step_resume_breakpoint,
130 struct breakpoint **step_resume_breakpoint,
Dinfcmd.c1146 struct breakpoint *breakpoint; in finish_command_continuation() local
1149 breakpoint = (struct breakpoint *) arg->data.pointer; in finish_command_continuation()
1153 if (bpstat_find_breakpoint (stop_bpstat, breakpoint) != NULL in finish_command_continuation()
1190 struct breakpoint *breakpoint; in finish_command() local
1229 breakpoint = set_momentary_breakpoint (sal, get_frame_id (frame), bp_finish); in finish_command()
1232 old_chain = make_cleanup_delete_breakpoint (breakpoint); in finish_command()
1234 old_chain = make_exec_cleanup_delete_breakpoint (breakpoint); in finish_command()
1263 arg1->data.pointer = breakpoint; in finish_command()
1278 if (bpstat_find_breakpoint (stop_bpstat, breakpoint) != NULL in finish_command()
/openbsd/src/gnu/usr.bin/binutils/gdb/gdbserver/
Dmem-break.c31 struct breakpoint struct
33 struct breakpoint *next; argument
43 struct breakpoint *breakpoint_to_reinsert; argument
49 struct breakpoint *breakpoints; argument
54 struct breakpoint *bp; in set_breakpoint_at()
59 bp = malloc (sizeof (struct breakpoint)); in set_breakpoint_at()
60 memset (bp, 0, sizeof (struct breakpoint)); in set_breakpoint_at()
75 delete_breakpoint (struct breakpoint *bp) in delete_breakpoint()
77 struct breakpoint *cur; in delete_breakpoint()
102 static struct breakpoint *
[all …]
/openbsd/src/gnu/llvm/lldb/source/Target/
DThreadPlanRunToAddress.cpp65 Breakpoint *breakpoint; in SetInitialBreakpoints() local
66 breakpoint = in SetInitialBreakpoints()
68 if (breakpoint != nullptr) { in SetInitialBreakpoints()
69 if (breakpoint->IsHardware() && !breakpoint->HasResolvedLocations()) in SetInitialBreakpoints()
71 m_break_ids[i] = breakpoint->GetID(); in SetInitialBreakpoints()
72 breakpoint->SetThreadID(m_tid); in SetInitialBreakpoints()
73 breakpoint->SetBreakpointKind("run-to-address"); in SetInitialBreakpoints()
121 Breakpoint *breakpoint = in GetDescription() local
123 if (breakpoint) in GetDescription()
124 breakpoint->Dump(s); in GetDescription()
/openbsd/src/gnu/llvm/lldb/examples/python/
Djump.py19 breakpoint = None
35 breakpoint = target.BreakpointCreateByLocation(
49 breakpoint = target.BreakpointCreateByLocation(
63 breakpoint = target.BreakpointCreateByLocation(
73 breakpoint = target.BreakpointCreateByLocation(
82 breakpoint = target.BreakpointCreateByAddress(address)
86 breakpoint = target.BreakpointCreateByName(linespec)
88 num_locations = breakpoint.GetNumLocations()
97 location = breakpoint.GetLocationAtIndex(location_index)
100 target.BreakpointDelete(breakpoint.GetID())
/openbsd/src/gnu/llvm/lldb/docs/use/
Dtutorial.rst42 intentions. The first instance you'll note of this is the breakpoint command.
43 In gdb, to set a breakpoint, you might enter
62 To set the same file and line breakpoint in LLDB you can enter either of:
66 (lldb) breakpoint set --file foo.c --line 12
67 (lldb) breakpoint set -f foo.c -l 12
69 To set a breakpoint on a function named foo in LLDB you can enter either of:
73 (lldb) breakpoint set --name foo
74 (lldb) breakpoint set -n foo
76 You can use the --name option multiple times to make a breakpoint on a set of
82 (lldb) breakpoint set --name foo --name bar
[all …]
Dpython-reference.rst141 you should not use them when defining Python formatters, breakpoint scripts and
171 Running a python script when a breakpoint gets hit
175 when a breakpoint gets hit. Adding python scripts to breakpoints provides a way
176 to create complex breakpoint conditions and also allows for smart logging and
179 When your process hits a breakpoint to which you have attached some python
199 | ``frame`` | `lldb.SBFrame` | The current stack frame where the breakpoint
203 | ``bp_loc`` | `lldb.SBBreakpointLocation` | The breakpoint location that just got hit. Br…
204 | | | objects. These breakpoint objects can have on…
207 …| ``Optional`` If your breakpoint callback function takes this extra parameter, then when the call…
210 | | | to ``breakpoint command add`` will be passed …
[all …]
Dtroubleshooting.rst30 search for inlined breakpoint locations by adding the following line to your
35 $ echo "settings set target.inline-breakpoint-strategy always" >> ~/.lldbinit
37 This tells LLDB to always look in all compile units and search for breakpoint
44 If you set a file and line breakpoint using a full path to the source file,
45 like Xcode does when setting a breakpoint in its GUI on macOS when you click
97 use the breakpoint list command with the --verbose option to see the full paths
102 (lldb) breakpoint list --verbose
Dpython.rst8 program data, iterating over containers and determining if a breakpoint
193 (lldb) breakpoint set -n find_word
199 at dictionary.c:105, stop reason = breakpoint 1.1
280 finding the word. We will do this using breakpoint command scripts.
284 the left branch. We will set a breakpoint at each of these decision points, and
285 attach a Python breakpoint command script to each breakpoint. The breakpoint
291 execution is resumed. In this case the user never even sees the breakpoint
299 What do we mean by that? When you enter a Python breakpoint command in LLDB, it
304 bp_loc. When the breakpoint gets hit, LLDB wraps up the frame object where the
305 breakpoint was hit, and the breakpoint location object for the breakpoint that
[all …]
/openbsd/src/gnu/llvm/lldb/source/Breakpoint/
DBreakpointResolverAddress.cpp120 Breakpoint &breakpoint = *breakpoint_sp; in SearchCallback() local
123 if (breakpoint.GetNumLocations() == 0) { in SearchCallback()
128 Target &target = breakpoint.GetTarget(); in SearchCallback()
138 m_resolved_addr = m_addr.GetLoadAddress(&breakpoint.GetTarget()); in SearchCallback()
140 if (bp_loc_sp && !breakpoint.IsInternal()) { in SearchCallback()
147 BreakpointLocationSP loc_sp = breakpoint.GetLocationAtIndex(0); in SearchCallback()
149 m_addr.GetLoadAddress(&breakpoint.GetTarget()); in SearchCallback()
174 BreakpointResolverAddress::CopyForBreakpoint(BreakpointSP &breakpoint) { in CopyForBreakpoint() argument
176 new BreakpointResolverAddress(breakpoint, m_addr)); in CopyForBreakpoint()
DBreakpointIDList.cpp252 Breakpoint *breakpoint = breakpoints.GetBreakpointAtIndex(j).get(); in FindAndReplaceIDRanges() local
253 break_id_t cur_bp_id = breakpoint->GetID(); in FindAndReplaceIDRanges()
258 const size_t num_locations = breakpoint->GetNumLocations(); in FindAndReplaceIDRanges()
263 BreakpointLocation *bp_loc = breakpoint->GetLocationAtIndex(k).get(); in FindAndReplaceIDRanges()
275 BreakpointLocation *bp_loc = breakpoint->GetLocationAtIndex(k).get(); in FindAndReplaceIDRanges()
/openbsd/src/gnu/llvm/lldb/docs/
Dlldb-for-gdb-users.txt35 this is the breakpoint command. In gdb, to set a breakpoint, you
51 (lldb) breakpoint set -f foo.c -l 12
53 to set a file & line breakpoint. To set a breakpoint on a function
56 (lldb) breakpoint set -n foo
60 (lldb) breakpoint set -M foo
64 (lldb) breakpoint set -S alignLeftEdges:
66 to set a breakpoint on all ObjC selectors called alignLeftEdges:. It
69 (lldb) breakpoint set -s foo.dylib -n foo
76 (lldb) breakpoint set -n "-[SKTGraphicView alignLeftEdges:]"
87 instance the -f option in "breakpoint" completes to source files, the
[all …]
/openbsd/src/gnu/usr.bin/binutils/gdb/mi/
Dgdb-mi.el362 (let ((breakpoint nil)
367 (let ((breakpoint (list (match-string 1)
375 (push breakpoint breakpoints-list))))
382 (dolist (breakpoint breakpoints-list)
384 (nth 0 breakpoint) " "
385 (nth 1 breakpoint) " "
386 (nth 2 breakpoint) " "
387 (nth 3 breakpoint) " "
388 (nth 5 breakpoint) "\t"
389 (nth 6 breakpoint) ":" (nth 7 breakpoint) "\t"
[all …]
/openbsd/src/gnu/llvm/lldb/packages/Python/lldbsuite/test/
Dlldbinline.py76 for breakpoint in self.breakpoints:
77 breakpoint['breakpoint'] = target.BreakpointCreateByLocation(
78 breakpoint['file_name'], breakpoint['line_number'])
81 for breakpoint in self.breakpoints:
82 if breakpoint['breakpoint'].GetID() == breakpoint_id:
83 test.execute_user_command(breakpoint['command'])
/openbsd/src/gnu/llvm/lldb/examples/test/
Dusage-lldb-loggings9 …est.py -A x86_64 -v -c ../examples/test/.lldb-loggings functionalities/breakpoint/breakpoint_comma…
38 …est.py -A x86_64 -v -c ../examples/test/.lldb-loggings functionalities/breakpoint/breakpoint_comma…
46 Test a sequence of breakpoint command add, list, and delete. ...
51 Test a sequence of breakpoint command add, list, and delete. ...
70 …est.py -A x86_64 -v -c ../examples/test/.lldb-loggings functionalities/breakpoint/breakpoint_comma…
102 …est.py -A x86_64 -v -c ../examples/test/.lldb-loggings functionalities/breakpoint/breakpoint_comma…
110 Test a sequence of breakpoint command add, list, and delete. ...
115 Test a sequence of breakpoint command add, list, and delete. ...
/openbsd/src/gnu/llvm/lldb/source/Commands/
DOptions.td49 let Command = "breakpoint list" in {
55 Desc<"Give a brief description of the breakpoint (no location info).">;
57 Desc<"Give a full description of the breakpoint and its locations.">;
59 Desc<"Explain everything we know about the breakpoint (for debugging "
66 let Command = "breakpoint modify" in {
69 Desc<"Set the number of times this breakpoint is skipped before stopping.">;
72 Desc<"The breakpoint is deleted the first time it stop causes a stop.">;
74 Arg<"ThreadIndex">, Desc<"The breakpoint stops only for the thread whose "
77 Arg<"ThreadID">, Desc<"The breakpoint stops only for the thread whose TID "
80 Arg<"ThreadName">, Desc<"The breakpoint stops only for the thread whose "
[all …]
/openbsd/src/gnu/usr.bin/binutils/gdb/testsuite/gdb.trace/
Dcirc.c66 breakpoint ();
87 breakpoint ();
/openbsd/src/gnu/llvm/lldb/source/Plugins/InstrumentationRuntime/ASan/
DInstrumentationRuntimeASan.cpp305 Breakpoint *breakpoint = in Activate() local
309 breakpoint->SetCallback(InstrumentationRuntimeASan::NotifyBreakpointHit, this, in Activate()
311 breakpoint->SetBreakpointKind("address-sanitizer-report"); in Activate()
312 SetBreakpointID(breakpoint->GetID()); in Activate()
/openbsd/src/gnu/llvm/llvm/docs/
DDebuggingJITedCode.rst23 attaches to a process, it puts a breakpoint in this function and associates a
25 debugger catches the breakpoint signal, loads the new object file from the
109 WARNING: Unable to resolve breakpoint to any actual locations.
111 1 location added to breakpoint 1
113 * thread #1, name = 'lli', stop reason = breakpoint 1.1
129 * thread #1, name = 'lli', stop reason = breakpoint 2.1
141 * thread #1, name = 'lli', stop reason = breakpoint 2.1
/openbsd/src/gnu/llvm/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
DRenderScriptRuntime.h80 CopyForBreakpoint(lldb::BreakpointSP &breakpoint) override { in CopyForBreakpoint() argument
82 new RSBreakpointResolver(breakpoint, m_kernel_name)); in CopyForBreakpoint()
103 const lldb::BreakpointSP &breakpoint, ConstString reduce_name,
106 : BreakpointResolver(breakpoint, BreakpointResolver::NameResolver), in BreakpointResolver() argument
130 CopyForBreakpoint(lldb::BreakpointSP &breakpoint) override { in CopyForBreakpoint() argument
132 breakpoint, m_reduce_name, m_rsmodules, m_kernel_types)); in CopyForBreakpoint()
277 CopyForBreakpoint(lldb::BreakpointSP &breakpoint) override { in CopyForBreakpoint() argument
279 breakpoint, m_group_name, m_script_groups, m_stop_on_all)); in CopyForBreakpoint()
/openbsd/src/gnu/usr.bin/binutils/gdb/testsuite/gdb.arch/
Di386-sse.exp68 gdb_test "break [gdb_get_line_number "first breakpoint here"]" \
83 gdb_test "break [gdb_get_line_number "second breakpoint here"]" \
/openbsd/src/gnu/llvm/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/
DInstrumentationRuntimeMainThreadChecker.cpp212 Breakpoint *breakpoint = in Activate() local
218 breakpoint->SetCallback( in Activate()
220 breakpoint->SetBreakpointKind("main-thread-checker-report"); in Activate()
221 SetBreakpointID(breakpoint->GetID()); in Activate()
/openbsd/src/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/
Dena-dis-br.exp70 proc break_at { breakpoint where } {
74 set test "break $breakpoint"
298 -re "No breakpoint number -1.*$gdb_prompt $" {

12345678910