Home | History | Annotate | Download | only in interp

Lines Matching refs:Breakpoint

59  * Initialize global breakpoint structures.
77 * This represents a breakpoint inserted in the instruction stream.
79 * The debugger may ask us to create the same breakpoint multiple times.
80 * We only remove the breakpoint when the last instance is cleared.
82 struct Breakpoint {
86 int setCount; /* #of times this breakpoint was set */
96 /* vector of breakpoint structures */
99 Breakpoint* breakpoints;
128 * Lock the breakpoint set.
146 * Unlock the breakpoint set.
166 * Returns the index of the breakpoint entry, or -1 if not found.
173 Breakpoint* pBreak = &pSet->breakpoints[i];
202 * a breakpoint.
207 * a given line. The result is that the breakpoint stomps on the NOP
211 * We don't want to simply refuse to add the breakpoint to the table,
223 * Add a breakpoint at a specific address. If the address is already
227 * the instruction stream, and replace it with a breakpoint opcode.
239 Breakpoint* pBreak;
244 Breakpoint* newVec;
246 ALOGV("+++ increasing breakpoint set size to %d", newSize);
249 newVec = (Breakpoint*)realloc(pSet->breakpoints, newSize * sizeof(Breakpoint));
268 * breakpoint yet, since that will screw up the verifier. The
278 ALOGV("Class %s verified, adding breakpoint at %p",
281 ALOGV("Refusing to set breakpoint on %04x at %s.%s + %#x",
290 ALOGV("Class %s NOT verified, deferring breakpoint at %p",
295 * Breakpoint already exists, just increase the count.
305 * Remove one instance of the specified breakpoint. When the count
318 /* breakpoint not found in set -- unexpected */
320 ALOGE("Unable to restore breakpoint opcode (%s.%s +%#x)",
324 ALOGW("Breakpoint was already restored? (%s.%s +%#x)",
328 Breakpoint* pBreak = &pSet->breakpoints[idx];
333 * If the breakpoint was never flushed, we could be ovewriting
358 * change the opcode, which might not have happened when the breakpoint
368 Breakpoint* pBreak = &pSet->breakpoints[i];
371 * The breakpoint is associated with a method in this class.
375 ALOGV("Flushing breakpoint at %p for %s",
378 ALOGV("Refusing to flush breakpoint on %04x at %s.%s + %#x",
408 * Sometimes the debugger likes to add two entries for one breakpoint.
417 * "addr" is the absolute address of the breakpoint bytecode.
431 * cancelled the breakpoint) or from an event thread (because it's a
432 * single-shot breakpoint, e.g. "run to line"). We only get here as
446 * Get the original opcode from under a breakpoint.
448 * On SMP hardware it's possible one core might try to execute a breakpoint
450 * there's no entry in the breakpoint set. (The memory barriers in the
451 * locks and in the breakpoint update code should ensure that, once we've
452 * observed the absence of a breakpoint entry, we will also now observe
465 ALOGE("GLITCH: can't find breakpoint, opcode is still set");
708 * Update the debugger on interesting events, such as hitting a breakpoint
751 * See if we have a breakpoint here.
757 ALOGV("+++ breakpoint hit at %p", pc);