aboutsummaryrefslogtreecommitdiff
path: root/gdb/sh-tdep.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1995-01-19 03:16:42 +0000
committerStan Shebs <shebs@codesourcery.com>1995-01-19 03:16:42 +0000
commit5076ecd0f615325d7ebb1c70ff01f6a336dc2a9a (patch)
tree655568da970c9d5e3207bdacc25a6bd6ad17d5f6 /gdb/sh-tdep.c
parent6ece68f0b375d0660099d46e7d02ce54a5bff1b5 (diff)
downloadgdb-5076ecd0f615325d7ebb1c70ff01f6a336dc2a9a.zip
gdb-5076ecd0f615325d7ebb1c70ff01f6a336dc2a9a.tar.gz
gdb-5076ecd0f615325d7ebb1c70ff01f6a336dc2a9a.tar.bz2
* h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info).
* sh-tdep.c (gdb_print_insn_sh): Ditto.
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r--gdb/sh-tdep.c4
1 files changed, 2 insertions, 2 deletions
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.