[lldb-dev] [Bug 37495] LLDB shows wrong results when execute 'register read' at non-zero frame on Windows

2018-07-10 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=37495

Stella Stamenova  changed:

   What|Removed |Added

 Fixed By Commit(s)||a66b5f7
 CC||sti...@microsoft.com
 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #1 from Stella Stamenova  ---
This was fixed in [a66b5f7] [windows] LLDB shows the wrong values when register
read is executed at a frame other than zero

-- 
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


Re: [lldb-dev] How LLDB plug-ins loaded on Windows?

2018-07-10 Thread Zachary Turner via lldb-dev
Is it? If lldb is totally broken without that patch we should upstream it
no?
On Tue, Jul 10, 2018 at 8:52 PM Aaron Smith 
wrote:

> This patch is needed for lldb to work on Windows.
>
> https://reviews.llvm.org/D12245
>
>
> --
> *From:* Zachary Turner 
> *Sent:* Friday, July 6, 2018 5:17 AM
> *To:* Salahuddin Khan
> *Cc:* Aaron Smith; Adrian McCarthy; Stella Stamenova;
> lldb-dev@lists.llvm.org
>
> *Subject:* Re: [lldb-dev] How LLDB plug-ins loaded on Windows?
>
> It’s been a while since i was close to this code, so adding people who
> have been in there more recently
>
> On Thu, Jul 5, 2018 at 1:12 PM Salahuddin Khan  wrote:
>
>> Hi Zachary,
>>
>>
>>
>> Ahh ok, thanks for your quick response.
>>
>>
>>
>> I was hoping to use LLDB on Windows (to debug Go code), which I know is
>> DWARF based (and I thought would work on Windows), but since I couldn’t
>> seem to set a breakpoint in C/C++/Go, so I thought perhaps plug-ins weren’t
>> being loaded (although it’s not possible to ‘load’ a .lib file, they have
>> to be included during link time).
>>
>>
>>
>> However, longer term I’m also hoping to replace the kernel debugger for
>> my own operating system (a personal OS written from scratch) with LLDB. My
>> OS uses the PE file format and has PDBs too – currently compiled on Windows
>> using a very old version of the Windows DDK. I’m in the process of moving
>> to a new build system using clang. I was using DIA to some degree and
>> debugging from Windows, but I eventually hope to be able to debug one
>> system from another also running the OS, so non-Windows support would be
>> good.
>>
>>
>>
>> Any idea which pieces are missing on Windows? I’m probably going to start
>> debugging lldb to figure it out, but knowing what is needed would help
>> significantly.
>>
>>
>>
>> Thanks,
>>
>> Salah
>>
>>
>>
>> *From:* Zachary Turner 
>> *Sent:* Thursday, July 05, 2018 12:56 PM
>> *To:* Salahuddin Khan 
>> *Cc:* lldb-dev@lists.llvm.org
>> *Subject:* Re: [lldb-dev] How LLDB plug-ins loaded on Windows?
>>
>>
>>
>> Plugin is a bit misleading. All “plugins” are compiled into lldb. Plugins
>> are really just a layering abstraction.
>>
>> To answer your question, pdb works currently but is limited in
>> functionality. First, it only supports limited usage scenarios, and second
>> it requires Windows. It’s currently built on top of DIA. If you need PDB
>> support on non Windows it will be quite a bit of work (although there’s
>> people making gradual progress on it). If you need it on Windows it
>> basically works but you’ll have to fill in some missing pieces. Several
>> other people have been submitting patches in this area as well recently
>>
>> On Thu, Jul 5, 2018 at 12:47 PM Salahuddin Khan via lldb-dev <
>> lldb-dev@lists.llvm.org> wrote:
>>
>> Hi All,
>>
>>
>>
>> I’m somewhat puzzled by the plug-ins in LLDB, specifically on Windows.
>>
>>
>>
>> When examining the lib directory after building LLVM/LLDB, I noticed at
>> lot of lldbPlugin*.lib files. However, it’s not clear if or how these are
>> included in LLDB.
>>
>>
>>
>> Here’s one example:
>>
>> lldbPluginSymbolFilePDB.lib
>>
>>
>>
>> Are these compiled into lldb.exe and if so, how are they invoked? I’m
>> trying to determine if PDB symbols are currently working, and if not, what
>> would be required to make them work.
>>
>>
>>
>> Thanks,
>>
>> Salah
>>
>> ___
>> lldb-dev mailing list
>> lldb-dev@lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
>> 
>>
>>
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev