/* Definitions for remote debugging interface for ROM monitors.
- Copyright (C) 1990, 1991, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
- 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
+ Copyright (C) 1990-2015 Free Software Foundation, Inc.
Contributed by Cygnus Support. Written by Rob Savoye for Cygnus.
This file is part of GDB.
from reg dump */
void (*supply_register) (struct regcache *regcache, char *name,
int namelen, char *val, int vallen);
- void (*load_routine) (struct serial *desc, char *file,
- int hashmark); /* Download routine */
int (*dumpregs) (struct regcache *); /* Dump all registers */
int (*continue_hook) (void); /* Emit the continue command */
int (*wait_filter) (char *buf, /* Maybe contains registers */
#define MO_PRINT_PROGRAM_OUTPUT 0x200000
-/* Some dump bytes commands align the first data with the preceeding
+/* Some dump bytes commands align the first data with the preceding
16 byte boundary. Some print blanks and start at the exactly the
requested boundary. */
#define SREC_SIZE 160
-extern void monitor_open (char *args, struct monitor_ops *ops, int from_tty);
-extern void monitor_close (int quitting);
+extern void monitor_open (const char *args, struct monitor_ops *ops,
+ int from_tty);
+extern void monitor_close (struct target_ops *self);
extern char *monitor_supply_register (struct regcache *regcache,
int regno, char *valstr);
extern int monitor_expect (char *prompt, char *buf, int buflen);