Skip to content

Commit 25b33b8

Browse files
committed
Fixes for upstream code changes.
1 parent c06a83d commit 25b33b8

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ bool ProcessElfCore::CanDebug(lldb::TargetSP target_sp,
8686
if (!m_core_module_sp && FileSystem::Instance().Exists(m_core_file)) {
8787
ModuleSpec core_module_spec(m_core_file, target_sp->GetArchitecture());
8888
Status error(ModuleList::GetSharedModule(core_module_spec, m_core_module_sp,
89-
nullptr, nullptr, nullptr));
89+
nullptr, nullptr));
9090
if (m_core_module_sp) {
9191
ObjectFile *core_objfile = m_core_module_sp->GetObjectFile();
9292
if (core_objfile && core_objfile->GetType() == ObjectFile::eTypeCoreFile)

lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,6 @@ class GDBRemoteCommunicationServerLLGS
103103
std::function<std::string (GDBRemoteCommunicationServerLLGS &server,
104104
NativeProcessProtocol *process)>;
105105

106-
bool SetProcessStoppedCallback(ProcessStoppedChangedCallback callback) {
107-
if (m_process_stopped_callback)
108-
return false;
109-
m_process_stopped_callback = callback;
110-
return true;
111-
}
112106
void InstallPlugin(std::unique_ptr<lldb_server::LLDBServerPlugin> plugin_up);
113107

114108
void SetPlugin(lldb_server::LLDBServerPlugin *plugin) {

lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,6 +1139,7 @@ void ProcessGDBRemote::HandleGPUBreakpoints(const GPUActions &gpu_action) {
11391139
eFunctionNameTypeFull, // Function name type.
11401140
eLanguageTypeUnknown, // Language type
11411141
0, // Byte offset.
1142+
false, // Offset is instruction count.
11421143
eLazyBoolNo, // Skip prologue.
11431144
true, // Internal breakpoint.
11441145
false); // Request hardware.

0 commit comments

Comments
 (0)