diff options
author | Per Bothner <per@bothner.com> | 1993-03-19 00:18:55 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1993-03-19 00:18:55 +0000 |
commit | 00cea52f92c8e845506ad147cb9584a31d29d587 (patch) | |
tree | adf879fb6b55a4e6530e9877d87826bee02c5846 /gdb/z8k-tdep.c | |
parent | 2e8adbd7f459067936857adc9fbefe9a2982e5d7 (diff) | |
download | gdb-00cea52f92c8e845506ad147cb9584a31d29d587.zip gdb-00cea52f92c8e845506ad147cb9584a31d29d587.tar.gz gdb-00cea52f92c8e845506ad147cb9584a31d29d587.tar.bz2 |
* ieee-float.c: Moved to ../libiberty.
* ieee-float.h: Moved to ../include.
* Makefile.in: Update accordingly.
* i386-pinsn.c (print_insn), m68k-pinsn.c (print_insn):
Convert to stubs that call disassemblers in ../opcodes/*-dis.c.
* m68k-tdep.c: Removed definition of ext_format ext_format_68881;
it is now in ../opcodes/m68881-ext.c.
* mips-tdep.c (mips_skip_prologue): Try to skip more of the
prologue (some callers _do_ care).
* mips-pinsn.c (print_insn), z8k-tdep.c (print_insn): Convert to
new interface of ../opcodes/*-dis.c.
* ch-exp.y: Add #include <ctype.h>.
Diffstat (limited to 'gdb/z8k-tdep.c')
-rw-r--r-- | gdb/z8k-tdep.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/z8k-tdep.c b/gdb/z8k-tdep.c index 73d4b55..65f73f0 100644 --- a/gdb/z8k-tdep.c +++ b/gdb/z8k-tdep.c @@ -209,15 +209,18 @@ print_insn (memaddr, stream) FILE *stream; { char temp[20]; + disassemble_info info; + + GDB_INIT_DISASSEMBLE_INFO(info, stream); read_memory (memaddr, temp, 20); if (BIG) { - return print_insn_z8001 (memaddr, temp, stream); + return print_insn_z8001 (memaddr, temp, &info); } else { - return print_insn_z8002 (memaddr, temp, stream); + return print_insn_z8002 (memaddr, temp, &info); } } |