aboutsummaryrefslogtreecommitdiff
path: root/gdb/nlm/alpha.h
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1994-08-29 21:47:40 +0000
committerStu Grossman <grossman@cygnus>1994-08-29 21:47:40 +0000
commit74ace0c87a62fb1b04839524e8a02ff173e54b63 (patch)
treec139eea208be84b26a39f19a26ccba06351faf5f /gdb/nlm/alpha.h
parente32890404e4d3d1fbbe6ca496517c19683ca0a55 (diff)
downloadgdb-74ace0c87a62fb1b04839524e8a02ff173e54b63.zip
gdb-74ace0c87a62fb1b04839524e8a02ff173e54b63.tar.gz
gdb-74ace0c87a62fb1b04839524e8a02ff173e54b63.tar.bz2
* nlm/Makefile.in: Add rule for .S.o.
* nlm/aio.h: Protect from multiple inclusions. * nlm/alpha-io.S: Remove everything we don't need. * nlm/{alpha-patch.c, alpha-patch.h, alpha-uart.c, alpha-uart.h}: Remove, no longer needed. * nlm/alpha.c: Merge in lots of stuff from previous files. * nlm/alpha.h: Don't #include alpha-patch.h. Make breakpoint_insn extern. * Move stuff from alpha-patch.h into here. * config/alpha/gdbserve.mt (TDEPFILES): Get rid of alpha-uart.o.
Diffstat (limited to 'gdb/nlm/alpha.h')
-rw-r--r--gdb/nlm/alpha.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/gdb/nlm/alpha.h b/gdb/nlm/alpha.h
index 8fc7ab1..440faff 100644
--- a/gdb/nlm/alpha.h
+++ b/gdb/nlm/alpha.h
@@ -1,5 +1,3 @@
-#include "alpha-patch.h"
-
/* Register values. All of these values *MUST* agree with tm.h */
#define RA_REGNUM 26 /* Contains return address value */
#define SP_REGNUM 30 /* Contains address of top of stack */
@@ -12,8 +10,16 @@
#define ExceptionPC ExceptionRegs[SF_REG_PC].lo
#define DECR_PC_AFTER_BREAK 0 /* NT's Palcode gets this right! */
#define BREAKPOINT {0x80, 0, 0, 0} /* call_pal bpt */
-unsigned char breakpoint_insn;
+extern unsigned char breakpoint_insn[];
#define BREAKPOINT_SIZE 4
/*#define flush_i_cache() asm("call_pal 0x86")*/
+/* Temporary defs until DEC gets their netware includes straightened out */
+
+#include "altdebug.h" /* Get StackFrame structure */
+
+#define isspace(C) (C == '\n' || C == '\r' || C == ' ' || C == '\t')
+int Breakpoint (int __arg);
+
+typedef unsigned long ULONG;