[Lldb-commits] [PATCH] lldb-mi: fix -stack-list-locals shows global variables

Ilia K ki.stfu at gmail.com
Fri Dec 5 08:29:18 PST 2014


This patch fixes the behaviour of -stack-list-locals command, which in
additional lists global(static) variables. There was an error in ORing mask
which is used for getting a list of variables. Previously, these constants
were unnamed, and possible it become the reason of this bug.

I had named these constants and done them as enumeration. Also, I added
tests for -stack-list-locals and -stack-list-arguments commands.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20141205/5c9246f7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lldbmi_stacklistlocals_shows_global_vars.v3.patch
Type: application/octet-stream
Size: 13268 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20141205/5c9246f7/attachment.obj>

More information about the lldb-commits mailing list