Skip to content
Commit bf716a53 authored by Tom Tromey's avatar Tom Tromey
Browse files

Fix crash with C++ qualified names

PR c++/29503 points out that something like "b->Base::member" will
crash when 'b' does not have pointer type.  This seems to be a simple
oversight in eval_op_member.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29503


Reviewed-By: default avatarBruno Larsen <blarsen@redhat.com>
parent 000f9cbe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment