[Lldb-commits] [PATCH] D18819: Reduce code duplication in ProcessGDBRemote

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 6 03:10:47 PDT 2016


labath created this revision.
labath added a reviewer: clayborg.
labath added a subscriber: lldb-commits.

SetThreadStopInfo was checking for a breakpoint at the current PC several times. This merges the
identical code into a separate function. I've left one breakpoint check alone, as it was doing
more complicated stuff, and it did not see a way to merge that without making the interface
complicated. NFC.

http://reviews.llvm.org/D18819

Files:
  source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
  source/Plugins/Process/gdb-remote/ProcessGDBRemote.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18819.52773.patch
Type: text/x-patch
Size: 5644 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160406/b34de22b/attachment.bin>


More information about the lldb-commits mailing list