summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorWeimin Pan <weimin.pan@oracle.com>2018-06-18 21:15:13 +0000
committerWeimin Pan <weimin.pan@oracle.com>2018-06-18 21:31:55 +0000
commitbf2977b5f3d25779cdc06ba79c05244d70bd8b59 (patch)
tree2df84ac75e329116c9438e67178b160785f36f9c /Makefile.in
parentc4eb05ff9a3739378f8a846751da4d0e221b4c8c (diff)
downloadbinutils-gdb-bf2977b5f3d25779cdc06ba79c05244d70bd8b59.tar.gz
Fix failure to find member of a typedef base class
The test case below demonstrates the problem, as described in this PR's Comment 5: typedef struct { int x; } A; struct C : A { int y; }; int main() { C c; return 55; } $ gdb a.out (gdb) ptype C::x Internal error: non-aggregate type to value_struct_elt_for_reference In value_struct_elt_for_reference(), need to call check_typedef() on the aggregate type to handle the case of *curtype being ptr->typedef. Tested on x86_64-linux. No regressions.
Diffstat (limited to 'Makefile.in')
0 files changed, 0 insertions, 0 deletions