mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +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:
@ -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;
|
||||
|
Reference in New Issue
Block a user