/* Simulator for Atmel's AVR core.
- Copyright (C) 2009 Free Software Foundation, Inc.
+ Copyright (C) 2009-2012 Free Software Foundation, Inc.
Written by Tristan Gingold, AdaCore.
This file is part of GDB, the GNU debugger.
if (step)
{
cpu_exception = sim_stopped;
- cpu_signal = TARGET_SIGNAL_TRAP;
+ cpu_signal = GDB_SIGNAL_TRAP;
}
else
cpu_exception = sim_running;
case OP_break:
/* Stop on this address. */
cpu_exception = sim_stopped;
- cpu_signal = TARGET_SIGNAL_TRAP;
+ cpu_signal = GDB_SIGNAL_TRAP;
pc = ipc;
break;
}
int
-sim_write (SIM_DESC sd, SIM_ADDR addr, unsigned char *buffer, int size)
+sim_write (SIM_DESC sd, SIM_ADDR addr, const unsigned char *buffer, int size)
{
int osize = size;
sim_stop (SIM_DESC sd)
{
cpu_exception = sim_stopped;
- cpu_signal = TARGET_SIGNAL_INT;
+ cpu_signal = GDB_SIGNAL_INT;
return 1;
}
{
callback = ptr;
}
+
+char **
+sim_complete_command (SIM_DESC sd, char *text, char *word)
+{
+ return NULL;
+}