RFC: fix PR symtab/11464

Tom Tromey tromey@redhat.com
Mon Feb 11 20:28:00 GMT 2013


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> I really have the full testsuite without regressions.  I do not see why it
Jan> crashes for you.  Tried on Fedora Rawhide, both with -lmcheck and without
Jan> -lmcheck.

This is quite strange.  Today I rebased this patch onto gdb/master.
Then I built gdb without the patch and ran the test case that was
included in the patch.  In gdb.log I then see:

    ptype gnu_obj_1::'~gnu_obj_1'
    ERROR: Process no longer exists

Jan> So I still believe those two lines
Jan>         if (classification == NAME)
Jan>           break;
Jan> are just some cleanup/simplification but not required by this patch.

Ok, I see what you mean, but the subsequent line is not valid for NAME:

	  context_type = yylval.tsym.type;

I guess you are saying I should invert the if.
Ok, I will do that.

Tom



More information about the Gdb-patches mailing list