[lldb-dev] Windows lldb prompt issue

Ted Woodward via lldb-dev lldb-dev at lists.llvm.org
Mon Mar 21 10:10:04 PDT 2016


I run lldb on Windows and Linux, launching my gdb-server based Hexagon
simulator automatically on a process launch. On Windows I'm seeing the
(lldb) prompt before the stop message, and no prompt after. On Linux I see
the prompt after.

 

Windows:

Current executable set to 'u:\lldb_test\factwin' (hexagon).

(lldb) b main

Breakpoint 1: where = factwin`main + 28 at factorial.c:32, address =
0x00005130

(lldb) r

Process 1 launched: 'u:\lldb_test\factwin' (hexagon)

(lldb) Process 1 stopped

* thread #1: tid = 0x0001, 0x00005130 factwin`main(argc=1, argv=0x0000e110)
+ 28 at factorial.c:32, stop reason = breakpoint 1.1

    frame #0: 0x00005130 factwin`main(argc=1, argv=0x0000e110) + 28 at
factorial.c:32

   29     }

   30   */

   31

-> 32     base = 10;

   33

   34     printf("Factorial of %d is %d\n", base, factorial(base));

   35     return 0;

 

 

Linux:

Current executable set to '/usr2/tedwood/lldb_test/factorial' (hexagon).

(lldb) b main

Breakpoint 1: where = factorial`main + 28 at factorial.c:32, address =
0x00004130

(lldb) r

Process 1 launched: '/usr2/tedwood/lldb_test/factorial' (hexagon)

Process 1 stopped

* thread #1: tid = 0x0001, 0x00004130 factorial`main(argc=1,
argv=0x0000b100) + 28 at factorial.c:32, stop reason = breakpoint 1.1

    frame #0: 0x00004130 factorial`main(argc=1, argv=0x0000b100) + 28 at
factorial.c:32

   29     }

   30   */

   31  

-> 32     base = 10;

   33  

   34     printf("Factorial of %d is %d\n", base, factorial(base));

   35     return 0;

(lldb)  

 

 

 

Any idea why the prompt is coming out before the stop message?

 

 

--

Qualcomm Innovation Center, Inc.

The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a
Linux Foundation Collaborative Project

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20160321/3543de34/attachment.html>


More information about the lldb-dev mailing list