gdb-6.3-2 produces an Null Pointer Access Violation
when stopping on a breakpoint.
You'll find a stackdump of the Null Pointer Access
I use GDB through the GUI frontend of our IDE (Slickedit)
on a rather large project. So I dont' know exactly
which command produces the crash. I also couln't yet
reproduce it with a small example. But I found out that
it crashes in the the function 'cp_print_value_fields'
on the line 'n_baseclasses = TYPE_N_BASECLASSES
(type);' there it tries to access
but 'type->main_type->type_specific.cplus_stuff' is null!
I added the lines
if( type->main_type==0 ||
'n_baseclasses = TYPE_N_BASECLASSES (type);'
line. Now a can debug without the crash but i don't
know what impact my change has.
Log in to post a comment.