From 677d40b6a594715a158becc3336c2063b5b9b5bb Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Thu, 19 Jan 2017 18:26:01 +0000 Subject: [PATCH] - fixed gdb_stub git-svn-id: http://moon:8086/svn/mips@105 a8ebac50-d88d-4704-bea3-6648445a41b3 --- src/libsys/gdb_stub.c | 14 -------------- 1 file changed, 14 deletions(-) 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;