Current executable set to 'a.out' (x86_64). (lldb) breakpoint set -f "main.c" -l 15 Breakpoint 1: where = a.out`set_char + 39 at main.c:15, address = 0x0000000000400527 (lldb) breakpoint set -f "main.c" -l 36 Breakpoint 2: where = a.out`set_ushort + 41 at main.c:36, address = 0x00000000004005e9 (lldb) log enable linux step verbose break thread (lldb) log enable lldb step verbose break thread (lldb) r thread created Discarding thread plans for thread (tid = 0x07e1, force 1) Pushing plan: "Base thread plan.", tid = 0x07e1. POSIXThread::POSIXThread (tid = 2017) thread created SectionLoadList::SetSectionLoadAddress (section = 0x1e54cb0 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..interp), load_addr = 0x0000000000400238) SectionLoadList::SetSectionLoadAddress (section = 0x1e54e40 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..note.ABI-tag), load_addr = 0x0000000000400254) SectionLoadList::SetSectionLoadAddress (section = 0x1e54ff0 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..note.gnu.build-id), load_addr = 0x0000000000400274) SectionLoadList::SetSectionLoadAddress (section = 0x1e56160 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..gnu.hash), load_addr = 0x0000000000400298) SectionLoadList::SetSectionLoadAddress (section = 0x1e56350 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..dynsym), load_addr = 0x00000000004002b8) SectionLoadList::SetSectionLoadAddress (section = 0x1e56460 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..dynstr), load_addr = 0x0000000000400318) SectionLoadList::SetSectionLoadAddress (section = 0x1e565c0 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..gnu.version), load_addr = 0x0000000000400358) SectionLoadList::SetSectionLoadAddress (section = 0x1e56720 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..gnu.version_r), load_addr = 0x0000000000400360) SectionLoadList::SetSectionLoadAddress (section = 0x1e56990 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..rela.dyn), load_addr = 0x0000000000400380) SectionLoadList::SetSectionLoadAddress (section = 0x1e56aa0 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..rela.plt), load_addr = 0x0000000000400398) SectionLoadList::SetSectionLoadAddress (section = 0x1e56c00 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..init), load_addr = 0x00000000004003c8) SectionLoadList::SetSectionLoadAddress (section = 0x1e56d60 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..plt), load_addr = 0x00000000004003e0) SectionLoadList::SetSectionLoadAddress (section = 0x1e56ec0 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..text), load_addr = 0x0000000000400410) SectionLoadList::SetSectionLoadAddress (section = 0x1e57020 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..fini), load_addr = 0x0000000000400978) SectionLoadList::SetSectionLoadAddress (section = 0x1e57180 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..rodata), load_addr = 0x0000000000400990) SectionLoadList::SetSectionLoadAddress (section = 0x1e572e0 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..eh_frame_hdr), load_addr = 0x0000000000400c00) SectionLoadList::SetSectionLoadAddress (section = 0x1e56880 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..eh_frame), load_addr = 0x0000000000400c90) SectionLoadList::SetSectionLoadAddress (section = 0x1e576a0 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..ctors), load_addr = 0x0000000000601e28) SectionLoadList::SetSectionLoadAddress (section = 0x1e57800 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..dtors), load_addr = 0x0000000000601e38) SectionLoadList::SetSectionLoadAddress (section = 0x1e57960 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..jcr), load_addr = 0x0000000000601e48) SectionLoadList::SetSectionLoadAddress (section = 0x1e57ac0 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..dynamic), load_addr = 0x0000000000601e50) SectionLoadList::SetSectionLoadAddress (section = 0x1e57c20 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..got), load_addr = 0x0000000000601fe0) SectionLoadList::SetSectionLoadAddress (section = 0x1e57d80 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..got.plt), load_addr = 0x0000000000601fe8) SectionLoadList::SetSectionLoadAddress (section = 0x1e57ee0 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..data), load_addr = 0x0000000000602010) SectionLoadList::SetSectionLoadAddress (section = 0x1e58040 (/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out..bss), load_addr = 0x0000000000602020) Target::CreateBreakpoint (internal = yes) => break_id = -1: address = 0x0000000000400410 Process::EnableSoftwareBreakpoint (site_id = 1) addr = 0x400410 Process::EnableSoftwareBreakpoint (site_id = 1) addr = 0x400410 -- SUCCESS Process::EnableSoftwareBreakpoint (site_id = 2) addr = 0x400527 Process::EnableSoftwareBreakpoint (site_id = 2) addr = 0x400527 -- SUCCESS Process::EnableSoftwareBreakpoint (site_id = 3) addr = 0x4005e9 Process::EnableSoftwareBreakpoint (site_id = 3) addr = 0x4005e9 -- SUCCESS POSIXThread::Notify () message kind = 'eTraceMessage' ProcessLinux::UpdateThreadList() (pid = 2017) ProcessLinux::UpdateThreadList() updated pid = 2017 ThreadList::ShouldStop: 1 threads Thread::ShouldStop for tid = 0x07e1, pc = 0x00007f0fde1515b0 ^^^^^^^^ Thread::ShouldStop Begin ^^^^^^^^ Plan stack initial state: Plan Stack for thread #1: tid = 0x07e1, stack_size = 1 Element 0: Base thread plan. Plan base plan explains stop, auto-continue 0. Base plan says should stop: 1. Plan stack final state: Plan Stack for thread #1: tid = 0x07e1, stack_size = 1 Element 0: Base thread plan. vvvvvvvv Thread::ShouldStop End (returning 1) vvvvvvvv ThreadList::ShouldStop overall should_stop = 1 thread created POSIXThread::Resume () Current Plan for thread 1 (0x07e1): base plan being asked whether we should report run. Process 2017 launched: '/home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out' (x86_64) (lldb) POSIXThread::Notify () message kind = 'eBreakpointMessage' POSIXThread::BreakNotify () PC=0x00400410 ProcessLinux::UpdateThreadList() (pid = 2017) ProcessLinux::UpdateThreadList() updated pid = 2017 ThreadList::ShouldStop: 1 threads Thread::ShouldStop for tid = 0x07e1, pc = 0x0000000000400410 ^^^^^^^^ Thread::ShouldStop Begin ^^^^^^^^ Plan stack initial state: Plan Stack for thread #1: tid = 0x07e1, stack_size = 1 Element 0: Base thread plan. SectionLoadList::SetSectionLoadAddress (section = 0x1e75810 (/lib/x86_64-linux-gnu/libc.so.6..note.gnu.build-id), load_addr = 0x00007f0fdddb1270) SectionLoadList::SetSectionLoadAddress (section = 0x1e75920 (/lib/x86_64-linux-gnu/libc.so.6..note.ABI-tag), load_addr = 0x00007f0fdddb1294) SectionLoadList::SetSectionLoadAddress (section = 0x1e75a30 (/lib/x86_64-linux-gnu/libc.so.6..gnu.hash), load_addr = 0x00007f0fdddb12b8) SectionLoadList::SetSectionLoadAddress (section = 0x1e75b40 (/lib/x86_64-linux-gnu/libc.so.6..dynsym), load_addr = 0x00007f0fdddb4c60) SectionLoadList::SetSectionLoadAddress (section = 0x1e75ce0 (/lib/x86_64-linux-gnu/libc.so.6..dynstr), load_addr = 0x00007f0fdddc1800) SectionLoadList::SetSectionLoadAddress (section = 0x1e75df0 (/lib/x86_64-linux-gnu/libc.so.6..gnu.version), load_addr = 0x00007f0fdddc6ebe) SectionLoadList::SetSectionLoadAddress (section = 0x1e75f00 (/lib/x86_64-linux-gnu/libc.so.6..gnu.version_d), load_addr = 0x00007f0fdddc7fb8) SectionLoadList::SetSectionLoadAddress (section = 0x1e76060 (/lib/x86_64-linux-gnu/libc.so.6..gnu.version_r), load_addr = 0x00007f0fdddc8230) SectionLoadList::SetSectionLoadAddress (section = 0x1e762d0 (/lib/x86_64-linux-gnu/libc.so.6..rela.dyn), load_addr = 0x00007f0fdddc8260) SectionLoadList::SetSectionLoadAddress (section = 0x1e763e0 (/lib/x86_64-linux-gnu/libc.so.6..rela.plt), load_addr = 0x00007f0fdddcfa18) SectionLoadList::SetSectionLoadAddress (section = 0x1e76540 (/lib/x86_64-linux-gnu/libc.so.6..plt), load_addr = 0x00007f0fdddcfae0) SectionLoadList::SetSectionLoadAddress (section = 0x1e766a0 (/lib/x86_64-linux-gnu/libc.so.6..text), load_addr = 0x00007f0fdddcfb80) SectionLoadList::SetSectionLoadAddress (section = 0x1e76800 (/lib/x86_64-linux-gnu/libc.so.6.__libc_freeres_fn), load_addr = 0x00007f0fddef5f50) SectionLoadList::SetSectionLoadAddress (section = 0x1e76960 (/lib/x86_64-linux-gnu/libc.so.6.__libc_thread_freeres_fn), load_addr = 0x00007f0fddef79e0) SectionLoadList::SetSectionLoadAddress (section = 0x1e76ac0 (/lib/x86_64-linux-gnu/libc.so.6..rodata), load_addr = 0x00007f0fddef7c20) SectionLoadList::SetSectionLoadAddress (section = 0x1e76c20 (/lib/x86_64-linux-gnu/libc.so.6..interp), load_addr = 0x00007f0fddf16370) SectionLoadList::SetSectionLoadAddress (section = 0x1e761c0 (/lib/x86_64-linux-gnu/libc.so.6..eh_frame_hdr), load_addr = 0x00007f0fddf1638c) SectionLoadList::SetSectionLoadAddress (section = 0x1e76fe0 (/lib/x86_64-linux-gnu/libc.so.6..eh_frame), load_addr = 0x00007f0fddf1c9e0) SectionLoadList::SetSectionLoadAddress (section = 0x1e77140 (/lib/x86_64-linux-gnu/libc.so.6..gcc_except_table), load_addr = 0x00007f0fddf41dfc) SectionLoadList::SetSectionLoadAddress (section = 0x1e772a0 (/lib/x86_64-linux-gnu/libc.so.6..hash), load_addr = 0x00007f0fddf42298) SectionLoadList::SetSectionLoadAddress (section = 0x1e77400 (/lib/x86_64-linux-gnu/libc.so.6..tdata), load_addr = 0x00007f0fde145730) SectionLoadList::SetSectionLoadAddress (section = 0x1e77560 (/lib/x86_64-linux-gnu/libc.so.6..tbss), load_addr = 0x00007f0fde145740) SectionLoadList::SetSectionLoadAddress (section = 0x1e776c0 (/lib/x86_64-linux-gnu/libc.so.6..init_array), load_addr = 0x00007f0fde145740) SectionLoadList::SetSectionLoadAddress (section = 0x1e77820 (/lib/x86_64-linux-gnu/libc.so.6.__libc_subfreeres), load_addr = 0x00007f0fde145750) SectionLoadList::SetSectionLoadAddress (section = 0x1e77980 (/lib/x86_64-linux-gnu/libc.so.6.__libc_atexit), load_addr = 0x00007f0fde145830) SectionLoadList::SetSectionLoadAddress (section = 0x1e77ae0 (/lib/x86_64-linux-gnu/libc.so.6.__libc_thread_subfreeres), load_addr = 0x00007f0fde145838) SectionLoadList::SetSectionLoadAddress (section = 0x1e77c40 (/lib/x86_64-linux-gnu/libc.so.6..data.rel.ro), load_addr = 0x00007f0fde145860) SectionLoadList::SetSectionLoadAddress (section = 0x1e77da0 (/lib/x86_64-linux-gnu/libc.so.6..dynamic), load_addr = 0x00007f0fde148b40) SectionLoadList::SetSectionLoadAddress (section = 0x1e77f00 (/lib/x86_64-linux-gnu/libc.so.6..got), load_addr = 0x00007f0fde148d20) SectionLoadList::SetSectionLoadAddress (section = 0x1e78060 (/lib/x86_64-linux-gnu/libc.so.6..got.plt), load_addr = 0x00007f0fde148fe8) SectionLoadList::SetSectionLoadAddress (section = 0x1e781c0 (/lib/x86_64-linux-gnu/libc.so.6..data), load_addr = 0x00007f0fde149040) SectionLoadList::SetSectionLoadAddress (section = 0x1e78320 (/lib/x86_64-linux-gnu/libc.so.6..bss), load_addr = 0x00007f0fde149ee0) SectionLoadList::SetSectionLoadAddress (section = 0x1e95180 (/lib64/ld-linux-x86-64.so.2..note.gnu.build-id), load_addr = 0x00007f0fde1501c8) SectionLoadList::SetSectionLoadAddress (section = 0x1e952e0 (/lib64/ld-linux-x86-64.so.2..hash), load_addr = 0x00007f0fde1501f0) SectionLoadList::SetSectionLoadAddress (section = 0x1e95490 (/lib64/ld-linux-x86-64.so.2..gnu.hash), load_addr = 0x00007f0fde1502a8) SectionLoadList::SetSectionLoadAddress (section = 0x1e976f0 (/lib64/ld-linux-x86-64.so.2..dynsym), load_addr = 0x00007f0fde150380) SectionLoadList::SetSectionLoadAddress (section = 0x1e97800 (/lib64/ld-linux-x86-64.so.2..dynstr), load_addr = 0x00007f0fde150608) SectionLoadList::SetSectionLoadAddress (section = 0x1e97910 (/lib64/ld-linux-x86-64.so.2..gnu.version), load_addr = 0x00007f0fde150784) SectionLoadList::SetSectionLoadAddress (section = 0x1e97a70 (/lib64/ld-linux-x86-64.so.2..gnu.version_d), load_addr = 0x00007f0fde1507c0) SectionLoadList::SetSectionLoadAddress (section = 0x1e97bd0 (/lib64/ld-linux-x86-64.so.2..rela.dyn), load_addr = 0x00007f0fde150868) SectionLoadList::SetSectionLoadAddress (section = 0x1e97e40 (/lib64/ld-linux-x86-64.so.2..rela.plt), load_addr = 0x00007f0fde1509e8) SectionLoadList::SetSectionLoadAddress (section = 0x1e97f50 (/lib64/ld-linux-x86-64.so.2..plt), load_addr = 0x00007f0fde150a80) SectionLoadList::SetSectionLoadAddress (section = 0x1e98060 (/lib64/ld-linux-x86-64.so.2..text), load_addr = 0x00007f0fde150af0) SectionLoadList::SetSectionLoadAddress (section = 0x1e981c0 (/lib64/ld-linux-x86-64.so.2..rodata), load_addr = 0x00007f0fde169640) SectionLoadList::SetSectionLoadAddress (section = 0x1e98320 (/lib64/ld-linux-x86-64.so.2..eh_frame_hdr), load_addr = 0x00007f0fde16db60) SectionLoadList::SetSectionLoadAddress (section = 0x1e98480 (/lib64/ld-linux-x86-64.so.2..eh_frame), load_addr = 0x00007f0fde16e168) SectionLoadList::SetSectionLoadAddress (section = 0x1e985e0 (/lib64/ld-linux-x86-64.so.2..init_array), load_addr = 0x00007f0fde370b60) SectionLoadList::SetSectionLoadAddress (section = 0x1e98740 (/lib64/ld-linux-x86-64.so.2..data.rel.ro), load_addr = 0x00007f0fde370b80) SectionLoadList::SetSectionLoadAddress (section = 0x1e97d30 (/lib64/ld-linux-x86-64.so.2..dynamic), load_addr = 0x00007f0fde370e28) SectionLoadList::SetSectionLoadAddress (section = 0x1e98b00 (/lib64/ld-linux-x86-64.so.2..got), load_addr = 0x00007f0fde370fb8) SectionLoadList::SetSectionLoadAddress (section = 0x1e98c60 (/lib64/ld-linux-x86-64.so.2..got.plt), load_addr = 0x00007f0fde370fe8) SectionLoadList::SetSectionLoadAddress (section = 0x1e98dc0 (/lib64/ld-linux-x86-64.so.2..data), load_addr = 0x00007f0fde371040) SectionLoadList::SetSectionLoadAddress (section = 0x1e98f20 (/lib64/ld-linux-x86-64.so.2..bss), load_addr = 0x00007f0fde372040) Target::CreateBreakpoint (internal = yes) => break_id = -2: address = 0x00007f0fde15f300 Process::EnableSoftwareBreakpoint (site_id = 4) addr = 0x7f0fde15f300 Process::EnableSoftwareBreakpoint (site_id = 4) addr = 0x7f0fde15f300 -- SUCCESS Hit breakpoint location: -1.1: module = /home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out symbol = address = 0x0000000000400410 resolved = true hit count = 1 , continuing. StopInfo::ShouldStop async callback says we should not stop, returning ShouldStop of false. ThreadList::ShouldStop overall should_stop = 0 ThreadList::ShouldReportStop 1 threads Thread::ShouldReportStop() tid = 0x07e1: returning vote for current plan ThreadPlan::ShouldReportStop() returning vote: no ThreadList::ShouldReportStop returning no Pushing plan: "Single stepping past breakpoint site 1 at 0x400410", tid = 0x07e1. WillResume Thread #1: tid = 0x07e1, pc = 0x00400410, sp = 0x7fff14f918c0, fp = 0x00000000, plan = 'Step over breakpoint trap', state = stepping, stop others = 1 Process::DisableBreakpoint (breakID = 1) addr = 0x400410 Process::DisableSoftwareBreakpoint (site_id = 1) addr = 0x400410 -- SUCCESS POSIXThread::Resume () POSIXThread::Notify () message kind = 'eTraceMessage' ProcessLinux::UpdateThreadList() (pid = 2017) ProcessLinux::UpdateThreadList() updated pid = 2017 ThreadList::ShouldStop: 1 threads Thread::ShouldStop for tid = 0x07e1, pc = 0x0000000000400412 ^^^^^^^^ Thread::ShouldStop Begin ^^^^^^^^ Plan stack initial state: Plan Stack for thread #1: tid = 0x07e1, stack_size = 2 Element 1: Single stepping past breakpoint site 1 at 0x400410 Element 0: Base thread plan. Plan Step over breakpoint trap explains stop, auto-continue 1. Plan Step over breakpoint trap should stop: 0. Completed step over breakpoint plan. Process::EnableSoftwareBreakpoint (site_id = 1) addr = 0x400410 Process::EnableSoftwareBreakpoint (site_id = 1) addr = 0x400410 -- SUCCESS Popping plan: "Step over breakpoint trap", tid = 0x07e1. Plan stack final state: Plan Stack for thread #1: tid = 0x07e1, stack_size = 1 Element 0: Base thread plan. Completed Plan Stack: 1 elements. Element 0: Single stepping past breakpoint site 1 at 0x400410 vvvvvvvv Thread::ShouldStop End (returning 0) vvvvvvvv ThreadList::ShouldStop overall should_stop = 0 ThreadList::ShouldReportStop 1 threads Thread::ShouldReportStop() tid = 0x07e1: returning vote for complete stack's back plan ThreadPlan::ShouldReportStop() returning vote: no ThreadList::ShouldReportStop returning no POSIXThread::Resume () POSIXThread::Notify () message kind = 'eBreakpointMessage' POSIXThread::BreakNotify () PC=0x00400527 ProcessLinux::UpdateThreadList() (pid = 2017) ProcessLinux::UpdateThreadList() updated pid = 2017 ThreadList::ShouldStop: 1 threads Thread::ShouldStop for tid = 0x07e1, pc = 0x0000000000400527 ^^^^^^^^ Thread::ShouldStop Begin ^^^^^^^^ Plan stack initial state: Plan Stack for thread #1: tid = 0x07e1, stack_size = 1 Element 0: Base thread plan. Hit breakpoint location: 1.1: module = /home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out compile unit = main.c function = set_char location = /home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/main.c:15 address = 0x0000000000400527 resolved = true hit count = 1 , stopping. Plan base plan explains stop, auto-continue 0. Base plan discarding thread plans for thread tid = 0x07e1 (breakpoint hit.) Discarding thread plans for thread (tid = 0x07e1, force 0) Base plan says should stop: 1. Plan stack final state: Plan Stack for thread #1: tid = 0x07e1, stack_size = 1 Element 0: Base thread plan. vvvvvvvv Thread::ShouldStop End (returning 1) vvvvvvvv ThreadList::ShouldStop overall should_stop = 1 Process::PerformAction returning from action with m_should_stop: 1. before (char) i = a Process 2017 stopped * thread #1: tid = 0x07e1, 0x0000000000400527 a.out`set_char + 39 at main.c:15, stop reason = breakpoint 1.1 frame #0: 0x0000000000400527 a.out`set_char + 39 at main.c:15 12 { 13 char i = 'a'; 14 printf("before (char) i = %c\n", i); -> 15 printf("after (char) i = %c\n", i); // Set break point #1. //// break $source:$line 16 } 17 18 void set_uchar(void) c Pushing plan: "Single stepping past breakpoint site 2 at 0x400527", tid = 0x07e1. WillResume Thread #1: tid = 0x07e1, pc = 0x00400527, sp = 0x7fff14f917b0, fp = 0x7fff14f917c0, plan = 'Step over breakpoint trap', state = stepping, stop others = 1 Process::DisableBreakpoint (breakID = 2) addr = 0x400527 Process::DisableSoftwareBreakpoint (site_id = 2) addr = 0x400527 -- SUCCESS POSIXThread::Resume () Current Plan for thread 1 (0x07e1): Step over breakpoint trap being asked whether we should report run. Process 2017 resuming POSIXThread::Notify () message kind = 'eTraceMessage' ProcessLinux::UpdateThreadList() (pid = 2017) ProcessLinux::UpdateThreadList() updated pid = 2017 ThreadList::ShouldStop: 1 threads (lldb) Thread::ShouldStop for tid = 0x07e1, pc = 0x000000000040052b ^^^^^^^^ Thread::ShouldStop Begin ^^^^^^^^ Plan stack initial state: Plan Stack for thread #1: tid = 0x07e1, stack_size = 2 Element 1: Single stepping past breakpoint site 2 at 0x400527 Element 0: Base thread plan. Plan Step over breakpoint trap explains stop, auto-continue 1. Plan Step over breakpoint trap should stop: 0. Completed step over breakpoint plan. Process::EnableSoftwareBreakpoint (site_id = 2) addr = 0x400527 Process::EnableSoftwareBreakpoint (site_id = 2) addr = 0x400527 -- SUCCESS Popping plan: "Step over breakpoint trap", tid = 0x07e1. Plan stack final state: Plan Stack for thread #1: tid = 0x07e1, stack_size = 1 Element 0: Base thread plan. Completed Plan Stack: 1 elements. Element 0: Single stepping past breakpoint site 2 at 0x400527 vvvvvvvv Thread::ShouldStop End (returning 0) vvvvvvvv ThreadList::ShouldStop overall should_stop = 0 ThreadList::ShouldReportStop 1 threads Thread::ShouldReportStop() tid = 0x07e1: returning vote for complete stack's back plan ThreadPlan::ShouldReportStop() returning vote: no ThreadList::ShouldReportStop returning no POSIXThread::Resume () POSIXThread::Notify () message kind = 'eBreakpointMessage' POSIXThread::BreakNotify () PC=0x004005e9 ProcessLinux::UpdateThreadList() (pid = 2017) ProcessLinux::UpdateThreadList() updated pid = 2017 ThreadList::ShouldStop: 1 threads Thread::ShouldStop for tid = 0x07e1, pc = 0x00000000004005e9 ^^^^^^^^ Thread::ShouldStop Begin ^^^^^^^^ Plan stack initial state: Plan Stack for thread #1: tid = 0x07e1, stack_size = 1 Element 0: Base thread plan. Hit breakpoint location: 2.1: module = /home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/a.out compile unit = main.c function = set_ushort location = /home/akaylor/dev/lldb-git/llvm/tools/lldb/test/lang/c/set_values/main.c:36 address = 0x00000000004005e9 resolved = true hit count = 1 , stopping. Plan base plan explains stop, auto-continue 0. Base plan discarding thread plans for thread tid = 0x07e1 (breakpoint hit.) Discarding thread plans for thread (tid = 0x07e1, force 0) Base plan says should stop: 1. Plan stack final state: Plan Stack for thread #1: tid = 0x07e1, stack_size = 1 Element 0: Base thread plan. vvvvvvvv Thread::ShouldStop End (returning 1) vvvvvvvv ThreadList::ShouldStop overall should_stop = 1 Process::PerformAction returning from action with m_should_stop: 1. after (char) i = a before (unsigned char) i = a after (unsigned char) i = a before (short) i = 33 after (short) i = 33 before (unsigned short) i = 33 Process 2017 stopped * thread #1: tid = 0x07e1, 0x00000000004005e9 a.out`set_ushort + 41 at main.c:36, stop reason = breakpoint 2.1 frame #0: 0x00000000004005e9 a.out`set_ushort + 41 at main.c:36 33 { 34 unsigned short i = 33; 35 printf("before (unsigned short) i = %i\n", i); -> 36 printf("after (unsigned short) i = %i\n", i); // Set break point #2. //// break $source:$line 37 } 38 39 void set_int(void)