/* Prototypes for functions located in other files */
extern void break_command (char *, int);
-extern int (*ui_loop_hook) (int);
-
/* Prototypes for local functions */
static int init_hidden_window (void);
/* Clean up connection to a remote debugger. */
-/* ARGSUSED */
static void
v850ice_close (int quitting)
{
{
if (count++ % 100000)
{
- ui_loop_hook (0);
+ deprecated_ui_loop_hook (0);
count = 0;
}
error ("v850ice_fetch_registers (%d): bad value from ICE: %s.",
regno, val);
- store_unsigned_integer (val, REGISTER_RAW_SIZE (regno), regval);
- supply_register (regno, val);
+ store_unsigned_integer (val, register_size (current_gdbarch, regno), regval);
+ regcache_raw_supply (current_regcache, regno, val);
}
/* Store register REGNO, or all registers if REGNO == -1, from the contents
return;
}
- regval = extract_unsigned_integer (&deprecated_registers[REGISTER_BYTE (regno)],
- REGISTER_RAW_SIZE (regno));
+ regval = extract_unsigned_integer (&deprecated_registers[DEPRECATED_REGISTER_BYTE (regno)],
+ register_size (current_gdbarch, regno));
strcpy (cmd, "reg ");
if (!convert_register (regno, &cmd[4]))
return;
We can only read/write MAX_BLOCK_SIZE bytes at a time, though, or the DLL
dies. */
-/* ARGSUSED */
static int
v850ice_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len,
int should_write, struct target_ops *target)