[Reproducer] Move GDB Remote Provider into Reproducer (NFC)
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 11 Sep 2019 23:15:12 +0000 (23:15 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 11 Sep 2019 23:15:12 +0000 (23:15 +0000)
commitbcc24e46ba3868510ed25cea5ac7b6fc2cc47d73
tree34a9ac7b4e7bdc576f835be749cb09f1fae43708
parente78a7a0ecddc747129512fabf4836e22d1805f00
[Reproducer] Move GDB Remote Provider into Reproducer (NFC)

Originally the idea was for providers to be defined close to where they
are used. While this helped designing the providers in such a way that
they don't depend on each other, it also means that it's not possible to
access them from a central place. This proved to be a problem for some
providers and resulted in them living in the reproducer class.

The ProcessGDBRemote provider is the last remaining exception. This
patch makes things consistent and moves it into the reproducer like the
other providers.

llvm-svn: 371685
lldb/include/lldb/Utility/Reproducer.h
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
lldb/source/Utility/Reproducer.cpp