aboutsummaryrefslogtreecommitdiff
path: root/gdb/monitor.h
diff options
context:
space:
mode:
authorDawn Perchik <dawn@cygnus>1996-06-28 14:03:13 +0000
committerDawn Perchik <dawn@cygnus>1996-06-28 14:03:13 +0000
commit012be3cec37ed2a7c6e07379404e6354ff06daf9 (patch)
tree1a6089a159ee98807b81dab840e46b472687d040 /gdb/monitor.h
parent265c044ac1c64e04518319bb4fcecca96e09d707 (diff)
downloadgdb-012be3cec37ed2a7c6e07379404e6354ff06daf9.zip
gdb-012be3cec37ed2a7c6e07379404e6354ff06daf9.tar.gz
gdb-012be3cec37ed2a7c6e07379404e6354ff06daf9.tar.bz2
* configure,configure.in: Add target sparclet.
* monitor.h,monitor.c: Added monitor flags MO_NO_ECHO_ON_SETMEM (don't expect echo on setmem command), MO_RUN_FIRST_TIME (if command to start process running on target is different from one to continue execution), MO_HEX_PREFIX (if addresses from monitor have a "0x" prefix). * monitor.c,parse.c,sparc-tdep.c: Don't require strings in the registers array. This is to allow NULLs to be place holders in the tm-*.h file so that only minor changes are needed when a new processor is introduced (eg, one without floating point). * sparc-tdep.c: Conditionally remove dependancies on floating point. * sparclet-rom.c,config/sparc/sparclet.mt,config/sparc/tm-sparclet.h: New files for target sparclet. * symfile.c: Add option for 2nd parameter on load command : a load offset added to the vma of each section.
Diffstat (limited to 'gdb/monitor.h')
-rw-r--r--gdb/monitor.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/monitor.h b/gdb/monitor.h
index dc2f124..f658921 100644
--- a/gdb/monitor.h
+++ b/gdb/monitor.h
@@ -152,6 +152,18 @@ struct monitor_ops
#define MO_SREC_ACK 0x100
+/* Allow 0x prefix on addresses retured from monitor */
+
+#define MO_HEX_PREFIX 0x200
+
+/* Some monitors require a different command when starting a program */
+
+#define MO_RUN_FIRST_TIME 0x400
+
+/* Don't expect echos when getting memory */
+
+#define MO_NO_ECHO_ON_SETMEM 0x800
+
#define SREC_SIZE 160
extern void monitor_open PARAMS ((char *args, struct monitor_ops *ops,