aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog15
-rw-r--r--gdb/config/i386/i386lynx.mh3
-rw-r--r--gdb/config/m68k/m68klynx.mh3
-rw-r--r--gdb/config/powerpc/tm-ppc-nw.h2
-rw-r--r--gdb/config/sparc/sparclynx.mh3
-rw-r--r--gdb/rs6000-pinsn.c4
6 files changed, 27 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6651939..bff08cb 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/config/i386/i386lynx.mh b/gdb/config/i386/i386lynx.mh
index 6cbade8..01e9cb3 100644
--- a/gdb/config/i386/i386lynx.mh
+++ b/gdb/config/i386/i386lynx.mh
@@ -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
diff --git a/gdb/config/m68k/m68klynx.mh b/gdb/config/m68k/m68klynx.mh
index f0c680a..ff3089b 100644
--- a/gdb/config/m68k/m68klynx.mh
+++ b/gdb/config/m68k/m68klynx.mh
@@ -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
diff --git a/gdb/config/powerpc/tm-ppc-nw.h b/gdb/config/powerpc/tm-ppc-nw.h
index f747b7e..c47df59 100644
--- a/gdb/config/powerpc/tm-ppc-nw.h
+++ b/gdb/config/powerpc/tm-ppc-nw.h
@@ -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
diff --git a/gdb/config/sparc/sparclynx.mh b/gdb/config/sparc/sparclynx.mh
index 51b9495..b7bba6e 100644
--- a/gdb/config/sparc/sparclynx.mh
+++ b/gdb/config/sparc/sparclynx.mh
@@ -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
diff --git a/gdb/rs6000-pinsn.c b/gdb/rs6000-pinsn.c
index 3af94f9..3538cfc 100644
--- a/gdb/rs6000-pinsn.c
+++ b/gdb/rs6000-pinsn.c
@@ -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
}