aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-pinsn.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-08-09 06:14:59 +0000
committerFred Fish <fnf@specifix.com>1992-08-09 06:14:59 +0000
commit50055e94a1d558f9f8edce1c07e90560d7161b76 (patch)
tree85444eb80f5c8f30fd0c6def8c791f369f251065 /gdb/i386-pinsn.c
parent1815e42cc3cbf95cd12055515a85a707ba7dc764 (diff)
downloadgdb-50055e94a1d558f9f8edce1c07e90560d7161b76.zip
gdb-50055e94a1d558f9f8edce1c07e90560d7161b76.tar.gz
gdb-50055e94a1d558f9f8edce1c07e90560d7161b76.tar.bz2
* dwarfread.c (struct dieinfo): Add has_at_byte_size.
* dwarfread.c (struct_type): In absence of AT_byte_size for bitfield, use size of object of member's type for the size of the anonymous object containing the bit field. * dwarfread.c (completedieinfo): Set has_at_byte_size when an AT_byte_size attribute is seen. * mipsread.c (psymtab_to_symtab_1): Fix misspelled cast to union aux_ext (was aux_ent). * i386-pinsn.c (print_insn): Cast 2'nd arg to read_memory from unsigned char* to char*, for Lucid compiler. * i386-tdep.c (codestream_fill): Fix cast of 2'nd arg to read_memory to be correct type (from unsigned char* to char*). * valprint.c (type_print_derivation_info): Minor tweak to placement of commas in derived class printing. * xcoffread.c (builtin_type): Fix misspelling in fatal message.
Diffstat (limited to 'gdb/i386-pinsn.c')
-rw-r--r--gdb/i386-pinsn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-pinsn.c b/gdb/i386-pinsn.c
index c6ecaa6..bbc622f 100644
--- a/gdb/i386-pinsn.c
+++ b/gdb/i386-pinsn.c
@@ -1890,7 +1890,7 @@ print_insn (memaddr, stream)
{
unsigned char buffer[MAXLEN];
- read_memory (memaddr, buffer, MAXLEN);
+ read_memory (memaddr, (char *) buffer, MAXLEN);
return (i386dis ((int)memaddr, buffer, stream));
}