* rs6000-pinsn.c (print_insn): Use powerpc disassembler when
authorStu Grossman <grossman@cygnus>
Thu, 1 Sep 1994 22:57:32 +0000 (22:57 +0000)
committerStu Grossman <grossman@cygnus>
Thu, 1 Sep 1994 22:57:32 +0000 (22:57 +0000)
        doing Power PC.
        * config/powerpc/tm-ppc-nw.h:  Define GDB_TARGET_POWERPC.

        * config/i386/i386lynx.mh, config/m68k/m68klynx.mh,
        config/rs6000/rs6000lynx.mh, config/sparc/sparclynx.mh:  Enable
        ser-tcp.

        * nlm/Makefile.in:  Get rid of NWSOURCE.
        * nlm/alpha-io.S (inVti, outVti):  Remove extraneous ldha's.
        * nlm/gdbserve.o:  Add dummy __main routine.
        * nlm/gdbserve.def:  Turn on debug.

gdb/nlm/Makefile.in
gdb/nlm/alpha-io.S
gdb/nlm/gdbserve.c
gdb/nlm/gdbserve.def

index ea765b18ca4e665b5f20deeccd20de7c83635cbc..e5cdbc8b7854b187c1d962868cc9a7185270ae50 100644 (file)
@@ -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 \
index 495caace7d320a308611f5858f4f6fd197432f7f..f3c2bc72a6de6856acbf31992e674a1e8d6d5990 100644 (file)
@@ -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 */
 
 
index 9eecc70e1f06f49c57ef374ef56dd3e315e94ebf..481bee0e0ad10f5272312e8a586509da4ba6276c 100644 (file)
@@ -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.  */
index dceb56a575493881059342725d7ada5ae5668274..cbf8ab642ca91216e386826c4cd339c49710bf9e 100644 (file)
@@ -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
This page took 0.025777 seconds and 4 git commands to generate.