From 91d12e123a3a685a00ce6dc744cd94f700295143 Mon Sep 17 00:00:00 2001 From: Mark Alexander Date: Sat, 19 Oct 1996 00:31:53 +0000 Subject: * mdebugread.c (parse_symbol): Fix crash when malloc has no type info and void type has no associated pointer type. --- gdb/mdebugread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/mdebugread.c') diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index a992658..49db557 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -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; -- cgit v1.1