https://llvm.org/bugs/show_bug.cgi?id=27806
Bug ID: 27806 Summary: thread step-over dlopen fails while running test_step_over_load (TestLoadUnload.py) Product: lldb Version: unspecified Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: All Bugs Assignee: lldb-dev@lists.llvm.org Reporter: omair.jav...@linaro.org CC: llvm-b...@lists.llvm.org Classification: Unclassified Inferior does not stop as expected and continues to run and exits. Log given below: (lldb) settings set target.env-vars LD_LIBRARY_PATH=/home/omair/lldb/tmp (lldb) file /home/omair/work/lldb-dev/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/a.out Current executable set to '/home/omair/work/lldb-dev/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/a.out' (arm). (lldb) breakpoint set -f "main.cpp" -l 31 Breakpoint 1: where = a.out`main + 38 at main.cpp:31, address = 0x00008802 (lldb) run Process 25796 launched: '/home/omair/work/lldb-dev/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/a.out' (arm) Process 25796 stopped * thread #1: tid = 25796, 0x00008802 a.out`main(argc=1, argv=0x7efffee4) + 38 at main.cpp:31, name = 'a.out', stop reason = breakpoint 1.1 frame #0: 0x00008802 a.out`main(argc=1, argv=0x7efffee4) + 38 at main.cpp:31 28 void *c_dylib_handle = NULL; 29 int (*a_function) (void); 30 -> 31 a_dylib_handle = dlopen (a_name, RTLD_NOW); // Set break point at this line for test_lldb_process_load_and_unload_commands(). 32 if (a_dylib_handle == NULL) 33 { 34 fprintf (stderr, "%s\n", dlerror()); (lldb) image lookup -n a_function (lldb) process load libloadunload_a.so --install error: failed to load 'libloadunload_a.so': platform install doesn't handle non file or directory items (lldb) kill Process 25796 exited with status = 9 (0x00000009) (lldb) run Process 25801 launched: '/home/omair/work/lldb-dev/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/a.out' (arm) Process 25801 stopped * thread #1: tid = 25801, 0x00008802 a.out`main(argc=1, argv=0x7efffee4) + 38 at main.cpp:31, name = 'a.out', stop reason = breakpoint 1.1 frame #0: 0x00008802 a.out`main(argc=1, argv=0x7efffee4) + 38 at main.cpp:31 28 void *c_dylib_handle = NULL; 29 int (*a_function) (void); 30 -> 31 a_dylib_handle = dlopen (a_name, RTLD_NOW); // Set break point at this line for test_lldb_process_load_and_unload_commands(). 32 if (a_dylib_handle == NULL) 33 { 34 fprintf (stderr, "%s\n", dlerror()); (lldb) thread list Process 25801 stopped * thread #1: tid = 25801, 0x00008802 a.out`main(argc=1, argv=0x7efffee4) + 38 at main.cpp:31, name = 'a.out', stop reason = breakpoint 1.1 (lldb) thread step-over First time around, got: 500 Second time around, got: 500 d_function returns: 700 Process 25801 exited with status = 0 (0x00000000) -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev