[lldb-dev] [Bug 24271] New: Unable to set BP using global namespace token

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jul 26 23:34:05 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24271

            Bug ID: 24271
           Summary: Unable to set BP using global namespace token
           Product: lldb
           Version: 3.7
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: ki.stfu at gmail.com
    Classification: Unclassified

Test case:
```
$ ./lldb ~/p/test/arg_test
(lldb) target create "/home/ilia/p/test/arg_test"
Current executable set to '/home/ilia/p/test/arg_test' (x86_64).
(lldb) b ::main
Breakpoint 1: no locations (pending).
WARNING:  Unable to resolve breakpoint to any actual locations.
(lldb) r
Process 13007 launched: '/home/ilia/p/test/arg_test' (x86_64)
argc = 1
Process 13007 exited with status = 0 (0x00000000) 
(lldb) b main
Breakpoint 2: where = arg_test`main + 15 at arg_test.c:4, address =
0x0000000000400545
(lldb) r
Process 13088 launched: '/home/ilia/p/test/arg_test' (x86_64)
Process 13088 stopped
* thread #1: tid = 13088, 0x0000000000400545 arg_test`main(argc=1,
argv=0x00007fffffffdc38) + 15 at arg_test.c:4, name = 'arg_test', stop reason =
breakpoint 2.1
    frame #0: 0x0000000000400545 arg_test`main(argc=1, argv=0x00007fffffffdc38)
+ 15 at arg_test.c:4
   1       #include <stdio.h>
   2       
   3       int main(int argc, char *argv[]) {
-> 4           printf("argc = %d\n", argc);
   5           return 0;
   6       }
(lldb) 
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150727/e70e0ee9/attachment.html>


More information about the lldb-dev mailing list