|
7 | 7 | //===----------------------------------------------------------------------===//
|
8 | 8 |
|
9 | 9 | #include "lldb/API/SBBreakpoint.h"
|
10 |
| -#include "SBReproducerPrivate.h" |
| 10 | +#include "lldb/Utility/ReproducerInstrumentation.h" |
11 | 11 | #include "lldb/API/SBBreakpointLocation.h"
|
12 | 12 | #include "lldb/API/SBDebugger.h"
|
13 | 13 | #include "lldb/API/SBEvent.h"
|
@@ -982,114 +982,3 @@ void SBBreakpointList::CopyToBreakpointIDList(
|
982 | 982 | if (m_opaque_sp)
|
983 | 983 | m_opaque_sp->CopyToBreakpointIDList(bp_id_list);
|
984 | 984 | }
|
985 |
| - |
986 |
| -namespace lldb_private { |
987 |
| -namespace repro { |
988 |
| - |
989 |
| -template <> |
990 |
| -void RegisterMethods<SBBreakpoint>(Registry &R) { |
991 |
| - LLDB_REGISTER_CONSTRUCTOR(SBBreakpoint, ()); |
992 |
| - LLDB_REGISTER_CONSTRUCTOR(SBBreakpoint, (const lldb::SBBreakpoint &)); |
993 |
| - LLDB_REGISTER_CONSTRUCTOR(SBBreakpoint, (const lldb::BreakpointSP &)); |
994 |
| - LLDB_REGISTER_METHOD(const lldb::SBBreakpoint &, |
995 |
| - SBBreakpoint, operator=,(const lldb::SBBreakpoint &)); |
996 |
| - LLDB_REGISTER_METHOD(bool, |
997 |
| - SBBreakpoint, operator==,(const lldb::SBBreakpoint &)); |
998 |
| - LLDB_REGISTER_METHOD(bool, |
999 |
| - SBBreakpoint, operator!=,(const lldb::SBBreakpoint &)); |
1000 |
| - LLDB_REGISTER_METHOD_CONST(lldb::SBTarget, SBBreakpoint, GetTarget, ()); |
1001 |
| - LLDB_REGISTER_METHOD_CONST(lldb::break_id_t, SBBreakpoint, GetID, ()); |
1002 |
| - LLDB_REGISTER_METHOD_CONST(bool, SBBreakpoint, IsValid, ()); |
1003 |
| - LLDB_REGISTER_METHOD_CONST(bool, SBBreakpoint, operator bool, ()); |
1004 |
| - LLDB_REGISTER_METHOD(void, SBBreakpoint, ClearAllBreakpointSites, ()); |
1005 |
| - LLDB_REGISTER_METHOD(lldb::SBBreakpointLocation, SBBreakpoint, |
1006 |
| - FindLocationByAddress, (lldb::addr_t)); |
1007 |
| - LLDB_REGISTER_METHOD(lldb::break_id_t, SBBreakpoint, |
1008 |
| - FindLocationIDByAddress, (lldb::addr_t)); |
1009 |
| - LLDB_REGISTER_METHOD(lldb::SBBreakpointLocation, SBBreakpoint, |
1010 |
| - FindLocationByID, (lldb::break_id_t)); |
1011 |
| - LLDB_REGISTER_METHOD(lldb::SBBreakpointLocation, SBBreakpoint, |
1012 |
| - GetLocationAtIndex, (uint32_t)); |
1013 |
| - LLDB_REGISTER_METHOD(void, SBBreakpoint, SetEnabled, (bool)); |
1014 |
| - LLDB_REGISTER_METHOD(bool, SBBreakpoint, IsEnabled, ()); |
1015 |
| - LLDB_REGISTER_METHOD(void, SBBreakpoint, SetOneShot, (bool)); |
1016 |
| - LLDB_REGISTER_METHOD_CONST(bool, SBBreakpoint, IsOneShot, ()); |
1017 |
| - LLDB_REGISTER_METHOD(bool, SBBreakpoint, IsInternal, ()); |
1018 |
| - LLDB_REGISTER_METHOD(void, SBBreakpoint, SetIgnoreCount, (uint32_t)); |
1019 |
| - LLDB_REGISTER_METHOD(void, SBBreakpoint, SetCondition, (const char *)); |
1020 |
| - LLDB_REGISTER_METHOD(const char *, SBBreakpoint, GetCondition, ()); |
1021 |
| - LLDB_REGISTER_METHOD(void, SBBreakpoint, SetAutoContinue, (bool)); |
1022 |
| - LLDB_REGISTER_METHOD(bool, SBBreakpoint, GetAutoContinue, ()); |
1023 |
| - LLDB_REGISTER_METHOD_CONST(uint32_t, SBBreakpoint, GetHitCount, ()); |
1024 |
| - LLDB_REGISTER_METHOD_CONST(uint32_t, SBBreakpoint, GetIgnoreCount, ()); |
1025 |
| - LLDB_REGISTER_METHOD(void, SBBreakpoint, SetThreadID, (lldb::tid_t)); |
1026 |
| - LLDB_REGISTER_METHOD(lldb::tid_t, SBBreakpoint, GetThreadID, ()); |
1027 |
| - LLDB_REGISTER_METHOD(void, SBBreakpoint, SetThreadIndex, (uint32_t)); |
1028 |
| - LLDB_REGISTER_METHOD_CONST(uint32_t, SBBreakpoint, GetThreadIndex, ()); |
1029 |
| - LLDB_REGISTER_METHOD(void, SBBreakpoint, SetThreadName, (const char *)); |
1030 |
| - LLDB_REGISTER_METHOD_CONST(const char *, SBBreakpoint, GetThreadName, ()); |
1031 |
| - LLDB_REGISTER_METHOD(void, SBBreakpoint, SetQueueName, (const char *)); |
1032 |
| - LLDB_REGISTER_METHOD_CONST(const char *, SBBreakpoint, GetQueueName, ()); |
1033 |
| - LLDB_REGISTER_METHOD_CONST(size_t, SBBreakpoint, GetNumResolvedLocations, |
1034 |
| - ()); |
1035 |
| - LLDB_REGISTER_METHOD_CONST(size_t, SBBreakpoint, GetNumLocations, ()); |
1036 |
| - LLDB_REGISTER_METHOD(void, SBBreakpoint, SetCommandLineCommands, |
1037 |
| - (lldb::SBStringList &)); |
1038 |
| - LLDB_REGISTER_METHOD(bool, SBBreakpoint, GetCommandLineCommands, |
1039 |
| - (lldb::SBStringList &)); |
1040 |
| - LLDB_REGISTER_METHOD(bool, SBBreakpoint, GetDescription, |
1041 |
| - (lldb::SBStream &)); |
1042 |
| - LLDB_REGISTER_METHOD(bool, SBBreakpoint, GetDescription, |
1043 |
| - (lldb::SBStream &, bool)); |
1044 |
| - LLDB_REGISTER_METHOD(lldb::SBError, SBBreakpoint, AddLocation, |
1045 |
| - (lldb::SBAddress &)); |
1046 |
| - LLDB_REGISTER_METHOD(lldb::SBStructuredData, SBBreakpoint, |
1047 |
| - SerializeToStructuredData, ()); |
1048 |
| - LLDB_REGISTER_METHOD(void, SBBreakpoint, SetScriptCallbackFunction, |
1049 |
| - (const char *)); |
1050 |
| - LLDB_REGISTER_METHOD(lldb::SBError, SBBreakpoint, SetScriptCallbackFunction, |
1051 |
| - (const char *, SBStructuredData &)); |
1052 |
| - LLDB_REGISTER_METHOD(lldb::SBError, SBBreakpoint, SetScriptCallbackBody, |
1053 |
| - (const char *)); |
1054 |
| - LLDB_REGISTER_METHOD(bool, SBBreakpoint, AddName, (const char *)); |
1055 |
| - LLDB_REGISTER_METHOD(lldb::SBError, SBBreakpoint, AddNameWithErrorHandling, |
1056 |
| - (const char *)); |
1057 |
| - LLDB_REGISTER_METHOD(void, SBBreakpoint, RemoveName, (const char *)); |
1058 |
| - LLDB_REGISTER_METHOD(bool, SBBreakpoint, MatchesName, (const char *)); |
1059 |
| - LLDB_REGISTER_METHOD(void, SBBreakpoint, GetNames, (lldb::SBStringList &)); |
1060 |
| - LLDB_REGISTER_STATIC_METHOD(bool, SBBreakpoint, EventIsBreakpointEvent, |
1061 |
| - (const lldb::SBEvent &)); |
1062 |
| - LLDB_REGISTER_STATIC_METHOD(lldb::BreakpointEventType, SBBreakpoint, |
1063 |
| - GetBreakpointEventTypeFromEvent, |
1064 |
| - (const lldb::SBEvent &)); |
1065 |
| - LLDB_REGISTER_STATIC_METHOD(lldb::SBBreakpoint, SBBreakpoint, |
1066 |
| - GetBreakpointFromEvent, |
1067 |
| - (const lldb::SBEvent &)); |
1068 |
| - LLDB_REGISTER_STATIC_METHOD(lldb::SBBreakpointLocation, SBBreakpoint, |
1069 |
| - GetBreakpointLocationAtIndexFromEvent, |
1070 |
| - (const lldb::SBEvent &, uint32_t)); |
1071 |
| - LLDB_REGISTER_STATIC_METHOD(uint32_t, SBBreakpoint, |
1072 |
| - GetNumBreakpointLocationsFromEvent, |
1073 |
| - (const lldb::SBEvent &)); |
1074 |
| - LLDB_REGISTER_METHOD_CONST(bool, SBBreakpoint, IsHardware, ()); |
1075 |
| -} |
1076 |
| - |
1077 |
| -template <> |
1078 |
| -void RegisterMethods<SBBreakpointList>(Registry &R) { |
1079 |
| - LLDB_REGISTER_CONSTRUCTOR(SBBreakpointList, (lldb::SBTarget &)); |
1080 |
| - LLDB_REGISTER_METHOD_CONST(size_t, SBBreakpointList, GetSize, ()); |
1081 |
| - LLDB_REGISTER_METHOD(lldb::SBBreakpoint, SBBreakpointList, |
1082 |
| - GetBreakpointAtIndex, (size_t)); |
1083 |
| - LLDB_REGISTER_METHOD(lldb::SBBreakpoint, SBBreakpointList, |
1084 |
| - FindBreakpointByID, (lldb::break_id_t)); |
1085 |
| - LLDB_REGISTER_METHOD(void, SBBreakpointList, Append, |
1086 |
| - (const lldb::SBBreakpoint &)); |
1087 |
| - LLDB_REGISTER_METHOD(void, SBBreakpointList, AppendByID, |
1088 |
| - (lldb::break_id_t)); |
1089 |
| - LLDB_REGISTER_METHOD(bool, SBBreakpointList, AppendIfUnique, |
1090 |
| - (const lldb::SBBreakpoint &)); |
1091 |
| - LLDB_REGISTER_METHOD(void, SBBreakpointList, Clear, ()); |
1092 |
| -} |
1093 |
| - |
1094 |
| -} |
1095 |
| -} |
0 commit comments