* rs6000-pinsn.c (print_insn): Use powerpc disassembler when
authorStu Grossman <grossman@cygnus>
Thu, 1 Sep 1994 22:57:02 +0000 (22:57 +0000)
committerStu Grossman <grossman@cygnus>
Thu, 1 Sep 1994 22:57:02 +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/ChangeLog
gdb/config/i386/i386lynx.mh
gdb/config/m68k/m68klynx.mh
gdb/config/powerpc/tm-ppc-nw.h
gdb/config/sparc/sparclynx.mh
gdb/rs6000-pinsn.c

index 66519397f755fe1f4da32daf15cd02a2d0f7eb47..bff08cbd713aeb7848f3cb424ef835eb2f1b8356 100644 (file)
@@ -1,3 +1,18 @@
+Thu Sep  1 15:41:21 1994  Stu Grossman  (grossman@cygnus.com)
+
+       * rs6000-pinsn.c (print_insn):  Use powerpc disassembler when
+       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.
+
 Thu Sep  1 12:36:39 1994  Jim Kingdon  (kingdon@cygnus.com)
 
        * config/xm-nbsd.h: Don't define SET_STACK_LIMIT_HUGE; it is obsolete.
index 6cbade8790db9e7eeb11e2499e70d4d9093bd413..01e9cb32bdd2c50601cca7e33ffabb5aebd59587 100644 (file)
@@ -1,6 +1,7 @@
 # Host: Intel 386 running LynxOS
 XM_FILE= xm-i386lynx.h
-XDEPFILES= 
+XM_CLIBS= -lbsd
+XDEPFILES= ser-tcp.o
 NAT_FILE= nm-i386lynx.h
 NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o lynx-nat.o
 REGEX=regex.o
index f0c680a98281ba19d89770c5c5bf919271b9f5c9..ff3089bb643ac27f9a0d93420098ea10ce17b9f3 100644 (file)
@@ -1,6 +1,7 @@
 # Host: Motorola 680x0 running LynxOS
 XM_FILE= xm-m68klynx.h
-XDEPFILES=
+XM_CLIBS= -lbsd
+XDEPFILES= ser-tcp.o
 NAT_FILE= nm-m68klynx.h
 NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o lynx-nat.o
 REGEX=regex.o
index f747b7e9931e2a7a5cdb0e21fe7969c23607db47..c47df59c93ff9b8ce0d68f6892234d3960e7563e 100644 (file)
@@ -23,6 +23,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 /* Use generic RS6000 definitions. */
 #include "rs6000/tm-rs6000.h"
 
+#define GDB_TARGET_POWERPC
+
 #undef PC_LOAD_SEGMENT
 #undef PROCESS_LINENUMBER_HOOK
 
index 51b94954857d6aa91c74dd00f016d046baf48632..b7bba6e1119b2496b11bf21be509013d1fd65593 100644 (file)
@@ -1,6 +1,7 @@
 # Host: Sparc running LynxOS
 XM_FILE= xm-sparclynx.h
-XDEPFILES= 
+XM_CLIBS= -lbsd
+XDEPFILES= ser-tcp.o
 NAT_FILE= nm-sparclynx.h
 NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o lynx-nat.o
 REGEX=regex.o
index 3af94f97032f1ea4695dd5231d70ccf15220af64..3538cfcb20d027cd8a6a9f27c43db768b110ffbc 100644 (file)
@@ -34,5 +34,9 @@ print_insn (memaddr, stream)
 
   GDB_INIT_DISASSEMBLE_INFO (info, stream);
 
+#ifdef GDB_TARGET_POWERPC
+  return print_insn_big_powerpc ((bfd_vma) memaddr, &info);
+#else
   return print_insn_rs6000 ((bfd_vma) memaddr, &info);
+#endif
 }