[Lldb-commits] [PATCH] D11129: Fix for remote-linux test fails: use currently selected platform on target launch

Tamas Berghammer tberghammer at google.com
Mon Jul 13 04:13:17 PDT 2015


tberghammer added a comment.

I agree that the current implementation is annoying with using the platform selected at target creation time, but changing the platform for a target after it is created might be dangerous because it can cache information from the platform.

  target create a.out
  breakpoint set -n printf
  process launch
  platform select remote-linux
  platform connect ...
  process launch # At this point I think the modules will be loaded and the breakpoints will be resolved to the wrong address

I don't know what is the best solution, but silently changing the platform of a target isn't sounds like the right approach


http://reviews.llvm.org/D11129







More information about the lldb-commits mailing list