Commit fb47cfda authored by Arvid Ephraim Picciani's avatar Arvid Ephraim Picciani
Browse files

Fix compilation

parent 1166dc39
...@@ -290,7 +290,6 @@ void IPCEngineHost::updateWatchData(const WatchData &data, ...@@ -290,7 +290,6 @@ void IPCEngineHost::updateWatchData(const WatchData &data,
void IPCEngineHost::rpcCallback(quint64 f, QByteArray payload) void IPCEngineHost::rpcCallback(quint64 f, QByteArray payload)
{ {
BreakHandler *handler;
switch (f) { switch (f) {
default: default:
showMessage(QLatin1String("IPC Error: unhandled id in guest to host call")); showMessage(QLatin1String("IPC Error: unhandled id in guest to host call"));
...@@ -476,7 +475,7 @@ void IPCEngineHost::rpcCallback(quint64 f, QByteArray payload) ...@@ -476,7 +475,7 @@ void IPCEngineHost::rpcCallback(quint64 f, QByteArray payload)
SET_NATIVE_BYTE_ORDER(s); SET_NATIVE_BYTE_ORDER(s);
BreakpointId id; BreakpointId id;
s >> id; s >> id;
handler->notifyBreakpointInsertOk(id); breakHandler()->notifyBreakpointInsertOk(id);
} }
case IPCEngineGuest::NotifyAddBreakpointFailed: case IPCEngineGuest::NotifyAddBreakpointFailed:
{ {
...@@ -484,7 +483,7 @@ void IPCEngineHost::rpcCallback(quint64 f, QByteArray payload) ...@@ -484,7 +483,7 @@ void IPCEngineHost::rpcCallback(quint64 f, QByteArray payload)
SET_NATIVE_BYTE_ORDER(s); SET_NATIVE_BYTE_ORDER(s);
BreakpointId id; BreakpointId id;
s >> id; s >> id;
handler->notifyBreakpointInsertFailed(id); breakHandler()->notifyBreakpointInsertFailed(id);
} }
case IPCEngineGuest::NotifyRemoveBreakpointOk: case IPCEngineGuest::NotifyRemoveBreakpointOk:
{ {
...@@ -492,7 +491,7 @@ void IPCEngineHost::rpcCallback(quint64 f, QByteArray payload) ...@@ -492,7 +491,7 @@ void IPCEngineHost::rpcCallback(quint64 f, QByteArray payload)
SET_NATIVE_BYTE_ORDER(s); SET_NATIVE_BYTE_ORDER(s);
BreakpointId id; BreakpointId id;
s >> id; s >> id;
handler->notifyBreakpointRemoveOk(id); breakHandler()->notifyBreakpointRemoveOk(id);
} }
case IPCEngineGuest::NotifyRemoveBreakpointFailed: case IPCEngineGuest::NotifyRemoveBreakpointFailed:
{ {
...@@ -500,7 +499,7 @@ void IPCEngineHost::rpcCallback(quint64 f, QByteArray payload) ...@@ -500,7 +499,7 @@ void IPCEngineHost::rpcCallback(quint64 f, QByteArray payload)
SET_NATIVE_BYTE_ORDER(s); SET_NATIVE_BYTE_ORDER(s);
BreakpointId id; BreakpointId id;
s >> id; s >> id;
handler->notifyBreakpointRemoveFailed(id); breakHandler()->notifyBreakpointRemoveFailed(id);
} }
case IPCEngineGuest::NotifyChangeBreakpointOk: case IPCEngineGuest::NotifyChangeBreakpointOk:
{ {
...@@ -508,7 +507,7 @@ void IPCEngineHost::rpcCallback(quint64 f, QByteArray payload) ...@@ -508,7 +507,7 @@ void IPCEngineHost::rpcCallback(quint64 f, QByteArray payload)
SET_NATIVE_BYTE_ORDER(s); SET_NATIVE_BYTE_ORDER(s);
BreakpointId id; BreakpointId id;
s >> id; s >> id;
handler->notifyBreakpointChangeOk(id); breakHandler()->notifyBreakpointChangeOk(id);
} }
case IPCEngineGuest::NotifyChangeBreakpointFailed: case IPCEngineGuest::NotifyChangeBreakpointFailed:
{ {
...@@ -516,7 +515,7 @@ void IPCEngineHost::rpcCallback(quint64 f, QByteArray payload) ...@@ -516,7 +515,7 @@ void IPCEngineHost::rpcCallback(quint64 f, QByteArray payload)
SET_NATIVE_BYTE_ORDER(s); SET_NATIVE_BYTE_ORDER(s);
BreakpointId id; BreakpointId id;
s >> id; s >> id;
handler->notifyBreakpointChangeFailed(id); breakHandler()->notifyBreakpointChangeFailed(id);
} }
case IPCEngineGuest::NotifyBreakpointAdjusted: case IPCEngineGuest::NotifyBreakpointAdjusted:
{ {
...@@ -525,7 +524,7 @@ void IPCEngineHost::rpcCallback(quint64 f, QByteArray payload) ...@@ -525,7 +524,7 @@ void IPCEngineHost::rpcCallback(quint64 f, QByteArray payload)
BreakpointId id; BreakpointId id;
BreakpointParameters d; BreakpointParameters d;
s >> id >> d; s >> id >> d;
handler->notifyBreakpointAdjusted(id, d); breakHandler()->notifyBreakpointAdjusted(id, d);
} }
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment