Files
clang-p2996/lldb/test/API/functionalities/thread_plan/main.c
Jim Ingham 1893065d7b Allow the ThreadPlanStackMap to hold the thread plans for threads
that were not reported by the OS plugin.  To facilitate this, move
adding/updating the ThreadPlans for a Thread to the ThreadPlanStackMap.
Also move dumping thread plans there as well.

Added some tests for "thread plan list" and "thread plan discard" since
I didn't seem to have written any originally.

Differential Revision: https://reviews.llvm.org/D76814
2020-04-03 14:56:28 -07:00

17 lines
363 B
C

#include <stdio.h>
void
call_me(int value) {
printf("called with %d\n", value); // Set another here.
}
int
main(int argc, char **argv)
{
call_me(argc); // Set a breakpoint here.
printf("This just spaces the two calls\n");
call_me(argc); // Run here to step over again.
printf("More spacing\n");
return 0; // Make sure we get here on last continue
}