diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c index 01f4093f2d..c099328d2e 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 3f39253b5f..b35b2dcb2f 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.