Use GDB_SIG* enum instead of the system's macros, as the latter mightn't be included or might have a different value.

This commit is contained in:
PoroCYon
2018-08-10 16:02:31 +02:00
parent cf8c436d0d
commit 26a9ab5b19
3 changed files with 9 additions and 6 deletions

View File

@ -252,7 +252,7 @@ static void gdb_read_command()
else if (c == 0x03)
{
CPU::Break();
gdb_signal(SIGTRAP);
gdb_signal(GDB_SIGTRAP);
return;
}
else if (c != GDB_STUB_START)