mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 11:33:45 +08:00
* mdebugread.c (parse_symbol): Fix crash when malloc has
no type info and void type has no associated pointer type.
This commit is contained in:
parent
30bddd3369
commit
91d12e123a
@ -1,3 +1,8 @@
|
||||
Fri Oct 18 17:26:22 1996 Mark Alexander <marka@cygnus.com>
|
||||
|
||||
* mdebugread.c (parse_symbol): Fix crash when malloc has
|
||||
no type info and void type has no associated pointer type.
|
||||
|
||||
Thu Oct 17 18:18:20 1996 Stan Shebs <shebs@andros.cygnus.com>
|
||||
|
||||
* configure.host: New file, host configuration mapping.
|
||||
|
@ -866,7 +866,7 @@ parse_symbol (sh, ax, ext_sh, bigend, section_offsets)
|
||||
patch up the type and make it void*
|
||||
instead. (davidm@azstarnet.com)
|
||||
*/
|
||||
t = t->pointer_type;
|
||||
t = make_pointer_type (t, NULL);
|
||||
}
|
||||
}
|
||||
b = top_stack->cur_block;
|
||||
|
Loading…
Reference in New Issue
Block a user