From: Stu Grossman Date: Thu, 1 Sep 1994 22:57:02 +0000 (+0000) Subject: * rs6000-pinsn.c (print_insn): Use powerpc disassembler when X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9feea50607bcca12f68a75623db402bd2a9dea05;p=binutils-gdb.git * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 66519397f75..bff08cbd713 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 6cbade8790d..01e9cb32bdd 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 f0c680a9828..ff3089bb643 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 f747b7e9931..c47df59c93f 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 51b94954857..b7bba6e1119 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 3af94f97032..3538cfcb20d 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 }