GDBStub: Signal Breakpoint Changes To Host
This commit is contained in:
parent
7f25e05b31
commit
62d7166e6a
|
@ -101,6 +101,10 @@ void Host_PPCSymbolsChanged()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Host_PPCBreakpointsChanged()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void Host_RefreshDSPDebuggerWindow()
|
void Host_RefreshDSPDebuggerWindow()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,6 +57,7 @@ bool Host_TASInputHasFocus();
|
||||||
|
|
||||||
void Host_Message(HostMessageID id);
|
void Host_Message(HostMessageID id);
|
||||||
void Host_PPCSymbolsChanged();
|
void Host_PPCSymbolsChanged();
|
||||||
|
void Host_PPCBreakpointsChanged();
|
||||||
void Host_RefreshDSPDebuggerWindow();
|
void Host_RefreshDSPDebuggerWindow();
|
||||||
void Host_RequestRenderWindowSize(int width, int height);
|
void Host_RequestRenderWindowSize(int width, int height);
|
||||||
void Host_UpdateDisasmDialog();
|
void Host_UpdateDisasmDialog();
|
||||||
|
|
|
@ -178,6 +178,7 @@ static void RemoveBreakpoint(BreakpointType type, u32 addr, u32 len)
|
||||||
INFO_LOG_FMT(GDB_STUB, "gdb: removed a memcheck: {:08x} bytes at {:08x}", len, addr);
|
INFO_LOG_FMT(GDB_STUB, "gdb: removed a memcheck: {:08x} bytes at {:08x}", len, addr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Host_PPCBreakpointsChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void Nack()
|
static void Nack()
|
||||||
|
@ -896,6 +897,7 @@ static bool AddBreakpoint(BreakpointType type, u32 addr, u32 len)
|
||||||
INFO_LOG_FMT(GDB_STUB, "gdb: added {} memcheck: {:08x} bytes at {:08x}", static_cast<int>(type),
|
INFO_LOG_FMT(GDB_STUB, "gdb: added {} memcheck: {:08x} bytes at {:08x}", static_cast<int>(type),
|
||||||
len, addr);
|
len, addr);
|
||||||
}
|
}
|
||||||
|
Host_PPCBreakpointsChanged();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -61,6 +61,10 @@ void Host_PPCSymbolsChanged()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Host_PPCBreakpointsChanged()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void Host_RefreshDSPDebuggerWindow()
|
void Host_RefreshDSPDebuggerWindow()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -271,6 +271,12 @@ void Host_PPCSymbolsChanged()
|
||||||
QueueOnObject(QApplication::instance(), [] { emit Host::GetInstance()->PPCSymbolsChanged(); });
|
QueueOnObject(QApplication::instance(), [] { emit Host::GetInstance()->PPCSymbolsChanged(); });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Host_PPCBreakpointsChanged()
|
||||||
|
{
|
||||||
|
QueueOnObject(QApplication::instance(),
|
||||||
|
[] { emit Host::GetInstance()->PPCBreakpointsChanged(); });
|
||||||
|
}
|
||||||
|
|
||||||
// We ignore these, and their purpose should be questioned individually.
|
// We ignore these, and their purpose should be questioned individually.
|
||||||
// In particular, RequestRenderWindowSize, RequestFullscreen, and
|
// In particular, RequestRenderWindowSize, RequestFullscreen, and
|
||||||
// UpdateMainFrame should almost certainly be removed.
|
// UpdateMainFrame should almost certainly be removed.
|
||||||
|
|
|
@ -25,6 +25,10 @@ void Host_PPCSymbolsChanged()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Host_PPCBreakpointsChanged()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void Host_RefreshDSPDebuggerWindow()
|
void Host_RefreshDSPDebuggerWindow()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,6 +16,9 @@ std::vector<std::string> Host_GetPreferredLocales()
|
||||||
void Host_PPCSymbolsChanged()
|
void Host_PPCSymbolsChanged()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
void Host_PPCBreakpointsChanged()
|
||||||
|
{
|
||||||
|
}
|
||||||
void Host_RefreshDSPDebuggerWindow()
|
void Host_RefreshDSPDebuggerWindow()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,6 +16,9 @@ std::vector<std::string> Host_GetPreferredLocales()
|
||||||
void Host_PPCSymbolsChanged()
|
void Host_PPCSymbolsChanged()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
void Host_PPCBreakpointsChanged()
|
||||||
|
{
|
||||||
|
}
|
||||||
void Host_RefreshDSPDebuggerWindow()
|
void Host_RefreshDSPDebuggerWindow()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue