- don't optimize away gdb

- GCC 4.92
- cleaned up



git-svn-id: http://moon:8086/svn/mips@107 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
2017-01-19 20:56:21 +00:00
parent 0e6994cdc6
commit e1ea7e3582
4 changed files with 7 additions and 11 deletions
+2 -2
View File
@@ -424,10 +424,10 @@ handle_exception (unsigned long *registers)
char *ptr;
unsigned long *sp;
unsigned long *pAddr = (unsigned long *)registers[PC];
addr = *((unsigned long *)registers[PC]);
// is break
if (isBreak(*pAddr))
if (isBreak(addr))
{
registers[PC] += 4;
}