summaryrefslogtreecommitdiff
path: root/gdb/sparc-pinsn.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-02-21 03:35:37 +0000
committerJohn Gilmore <gnu@cygnus>1992-02-21 03:35:37 +0000
commit7919c3ed86bcf8aa2fafe4284ec6d0453e5d993e (patch)
tree50ee9fb4fd3b30fb6b0a041774a8e593afc01442 /gdb/sparc-pinsn.c
parent573da2f371655db279fe819e0ef555d203b4a9d8 (diff)
downloadbinutils-gdb-7919c3ed86bcf8aa2fafe4284ec6d0453e5d993e.tar.gz
* tm-sparc.h, tm-sysv4.h, solib.h: Move shared lib definitions
into solib.h. * sparc-pinsn.c, sparc-tdep.c, standalonec, sun3-xdep.c, sun386-xdep.c, symm-xdep.c, target.c, ultra3-xdep.c, utils.c, value.h: Prototypes for static functions; lint. * gdbtypes.h: Empty file to ease transition.
Diffstat (limited to 'gdb/sparc-pinsn.c')
-rw-r--r--gdb/sparc-pinsn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparc-pinsn.c b/gdb/sparc-pinsn.c
index 332b0ad9644..cb4b5d29707 100644
--- a/gdb/sparc-pinsn.c
+++ b/gdb/sparc-pinsn.c
@@ -116,7 +116,7 @@ print_insn (memaddr, stream)
opcodes_sorted = 1;
}
- read_memory (memaddr, &insn, sizeof (insn));
+ read_memory (memaddr, (char *) &insn, sizeof (insn));
for (i = 0; i < NUMOPCODES; ++i)
{