aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2010-05-28 17:21:40 +0000
committerKevin Buettner <kevinb@redhat.com>2010-05-28 17:21:40 +0000
commitc91e8ecef53e652f954c3ec21e149b4617aa1f3d (patch)
tree0e8c359af3b67a741d6558dd96d9f8f95960b701 /sim
parent12cb73884e6508867721011858d4c3ce791496e8 (diff)
downloadgdb-c91e8ecef53e652f954c3ec21e149b4617aa1f3d.zip
gdb-c91e8ecef53e652f954c3ec21e149b4617aa1f3d.tar.gz
gdb-c91e8ecef53e652f954c3ec21e149b4617aa1f3d.tar.bz2
Revert accidentally committed changes that aren't ready yet.
Diffstat (limited to 'sim')
-rw-r--r--sim/rx/gdb-if.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sim/rx/gdb-if.c b/sim/rx/gdb-if.c
index b92c01d..5326bb3 100644
--- a/sim/rx/gdb-if.c
+++ b/sim/rx/gdb-if.c
@@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "load.h"
#include "syscalls.h"
#include "err.h"
-#include "trace.h"
/* Ideally, we'd wrap up all the minisim's data structures in an
object and pass that around. However, neither GDB nor run needs
@@ -404,9 +403,6 @@ reg_size (enum sim_rx_regnum regno)
case sim_rx_fpsw_regnum:
size = sizeof (regs.r_fpsw);
break;
- case sim_rx_acc_regnum:
- size = sizeof (regs.r_acc);
- break;
default:
size = 0;
break;
@@ -507,9 +503,6 @@ sim_fetch_register (SIM_DESC sd, int regno, unsigned char *buf, int length)
case sim_rx_fpsw_regnum:
val = get_reg (fpsw);
break;
- case sim_rx_acc_regnum:
- val = ((DI) get_reg (acchi) << 32) | get_reg (acclo);
- break;
default:
fprintf (stderr, "rx minisim: unrecognized register number: %d\n",
regno);