From 5076ecd0f615325d7ebb1c70ff01f6a336dc2a9a Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Thu, 19 Jan 1995 03:16:42 +0000 Subject: [PATCH] * h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info). * sh-tdep.c (gdb_print_insn_sh): Ditto. --- gdb/h8300-tdep.c | 4 ++-- gdb/sh-tdep.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c index 01f4093..c099328 100644 --- a/gdb/h8300-tdep.c +++ b/gdb/h8300-tdep.c @@ -103,9 +103,9 @@ gdb_print_insn_h8300 (memaddr, info) disassemble_info *info; { if (h8300hmode) - return print_insn_h8300h (memaddr, &info); + return print_insn_h8300h (memaddr, info); else - return print_insn_h8300 (memaddr, &info); + return print_insn_h8300 (memaddr, info); } /* Given a GDB frame, determine the address of the calling function's frame. diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 3f39253..b35b2dc 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -82,9 +82,9 @@ gdb_print_insn_sh (memaddr, info) disassemble_info *info; { if (TARGET_BYTE_ORDER == BIG_ENDIAN) - return print_insn_sh (memaddr, &info); + return print_insn_sh (memaddr, info); else - return print_insn_shl (memaddr, &info); + return print_insn_shl (memaddr, info); } /* Given a GDB frame, determine the address of the calling function's frame. -- 2.7.4