diff --git a/src/libsys/gdb_stub.c b/src/libsys/gdb_stub.c index 5f91490..da0a573 100644 --- a/src/libsys/gdb_stub.c +++ b/src/libsys/gdb_stub.c @@ -524,21 +524,7 @@ handle_exception (unsigned long *registers) hex2mem(ptr, (char *)®isters[PC], 4, 0); ptr += 4 * 2; *ptr = 0; - /* See if the stack pointer has moved. If so, then copy the saved - locals and ins to the new location. This keeps the window - overflow and underflow routines happy. */ - newsp = (unsigned long *)registers[R29]; - if (sp != newsp) - { - sp = memcpy(newsp, sp, 16 * 4); - } - - /* Don't allow SR:iec, SR:kuc to be modified. */ - if (sr != registers[SR]) - { - registers[SR] = (sr & ~0x3); - } strcpy(remcomOutBuffer,"OK"); } break;