diff options
author | Stu Grossman <grossman@cygnus> | 1994-09-01 22:57:02 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1994-09-01 22:57:02 +0000 |
commit | 9feea50607bcca12f68a75623db402bd2a9dea05 (patch) | |
tree | eeb6ce321f6fa052e92e6c72e65f7fe9e8cf98f2 /gdb/rs6000-pinsn.c | |
parent | 7cf09889c07f93a5022e7c538fbd95706986a587 (diff) | |
download | gdb-9feea50607bcca12f68a75623db402bd2a9dea05.zip gdb-9feea50607bcca12f68a75623db402bd2a9dea05.tar.gz gdb-9feea50607bcca12f68a75623db402bd2a9dea05.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/rs6000-pinsn.c')
-rw-r--r-- | gdb/rs6000-pinsn.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 } |