[Lldb-commits] [PATCH] Fixing TestRegisters on Linux with LLGS

Tamas Berghammer tberghammer at google.com
Wed Jan 21 06:13:05 PST 2015


Hi vharron, clayborg,

This patch fixes TestRegisters on Linux with LLGS
    
* Introduce GetUserRegisterCount on RegisterInfoInterface to distinguish lldb internal registers (e.g.: DR0-DR7) during register counting
* Update GDBRemoteCommunicationServer to skip lldb internal registers on read/write register and on discover register

http://reviews.llvm.org/D7092

Files:
  include/lldb/Target/NativeRegisterContext.h
  include/lldb/Target/NativeRegisterContextRegisterInfo.h
  source/Plugins/Process/Utility/RegisterContextLinux_i386.cpp
  source/Plugins/Process/Utility/RegisterContextLinux_i386.h
  source/Plugins/Process/Utility/RegisterContextLinux_x86_64.cpp
  source/Plugins/Process/Utility/RegisterContextLinux_x86_64.h
  source/Plugins/Process/Utility/RegisterInfoInterface.h
  source/Plugins/Process/Utility/lldb-x86-register-enums.h
  source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
  source/Target/NativeRegisterContextRegisterInfo.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7092.18507.patch
Type: text/x-patch
Size: 8896 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150121/b7fca907/attachment.bin>


More information about the lldb-commits mailing list