aboutsummaryrefslogtreecommitdiff
path: root/gdb/nlm
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/nlm')
-rw-r--r--gdb/nlm/Makefile.in3
-rw-r--r--gdb/nlm/alpha-io.S6
-rw-r--r--gdb/nlm/gdbserve.c4
-rw-r--r--gdb/nlm/gdbserve.def3
4 files changed, 5 insertions, 11 deletions
diff --git a/gdb/nlm/Makefile.in b/gdb/nlm/Makefile.in
index ea765b1..e5cdbc8 100644
--- a/gdb/nlm/Makefile.in
+++ b/gdb/nlm/Makefile.in
@@ -73,8 +73,7 @@ NLMCONV_FOR_TARGET = ` \
fi; \
fi`
-NWSOURCE = /gaunt/grossman/unsupported/Novell
-NWINCLUDES = -I/gaunt/grossman/PPC-NETWARE/ndk/include
+NWINCLUDES = -I/gaunt/grossman/ALPHA-NLM/940830/clib/include
LD_FOR_TARGET = ` \
if [ -f ../../ld/ld.new ] ; then \
diff --git a/gdb/nlm/alpha-io.S b/gdb/nlm/alpha-io.S
index 495caac..f3c2bc7 100644
--- a/gdb/nlm/alpha-io.S
+++ b/gdb/nlm/alpha-io.S
@@ -65,8 +65,7 @@ LEAF_ENTRY(flush_i_cache)
* va<42:41> = 10 (binary) for super-page address
*/
- lda t0, 0xc01c(zero) /* t0 = 0000 0000 0000 c01c */
- ldah t0, -1(t0) /* t0 = ffff ffff ffff c01c */
+ lda t0, 0xc01c(zero) /* t0 = ffff ffff ffff c01c */
sll t0, 28, t0 /* t0 = ffff fc01 c000 0000 */
@@ -125,8 +124,7 @@ LEAF_ENTRY(flush_i_cache)
* va<42:41> = 10 (binary) for super-page address
*/
- lda t0, 0xc01c(zero) /* t0 = 0000 0000 0000 c01c */
- ldah t0, -1(t0) /* t0 = ffff ffff ffff c01c */
+ lda t0, 0xc01c(zero) /* t0 = ffff ffff ffff c01c */
sll t0, 28, t0 /* t0 = ffff fc01 c000 0000 */
diff --git a/gdb/nlm/gdbserve.c b/gdb/nlm/gdbserve.c
index 9eecc70..481bee0 100644
--- a/gdb/nlm/gdbserve.c
+++ b/gdb/nlm/gdbserve.c
@@ -158,9 +158,7 @@ char *hex2mem (char *buf, void *mem, int count, int may_fault);
extern void set_step_traps (struct StackFrame *);
extern void clear_step_traps (struct StackFrame *);
-#if 0
-__main() {};
-#endif
+static int __main() {};
/* Read a character from the serial port. This must busy wait, but
that's OK because we will be the only thread running anyhow. */
diff --git a/gdb/nlm/gdbserve.def b/gdb/nlm/gdbserve.def
index dceb56a..cbf8ab6 100644
--- a/gdb/nlm/gdbserve.def
+++ b/gdb/nlm/gdbserve.def
@@ -1,6 +1,6 @@
description "GDB debugger stub"
version 1,2,0
-#debug
+debug
module clib
screenname "System Console"
input gdbserve.O
@@ -28,7 +28,6 @@ import
_TerminateNLM
__GetScreenID
__get_errno_ptr
- _get_stdstream
exit
fprintf
getcmd