* h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info).

* sh-tdep.c (gdb_print_insn_sh): Ditto.
This commit is contained in:
Stan Shebs 1995-01-19 03:16:42 +00:00
parent 6ece68f0b3
commit 5076ecd0f6
2 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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.