* h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info).
authorStan Shebs <shebs@codesourcery.com>
Thu, 19 Jan 1995 03:16:42 +0000 (03:16 +0000)
committerStan Shebs <shebs@codesourcery.com>
Thu, 19 Jan 1995 03:16:42 +0000 (03:16 +0000)
* sh-tdep.c (gdb_print_insn_sh): Ditto.

gdb/h8300-tdep.c
gdb/sh-tdep.c

index 01f4093f2d4cc6ac6756271210f898c48efd4467..c099328d2ea293dac61b9f06a1539441c7cba811 100644 (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.
index 3f39253b5f8bb6ee2c9291db31073e8bf8a57ab4..b35b2dcb2ffd8ea71ca2ea523268c056e4444f5c 100644 (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.