aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-exp.y
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2012-01-12 22:51:10 +0000
committerKeith Seitz <keiths@redhat.com>2012-01-12 22:51:10 +0000
commit85254831c06bb38fb7d974d3b29e63f688923485 (patch)
tree1dcd5e703c634e7a0371735d67367e315a42e777 /gdb/c-exp.y
parent3848a17fe5074ad88310b9cd52dba70aba076c39 (diff)
downloadgdb-85254831c06bb38fb7d974d3b29e63f688923485.zip
gdb-85254831c06bb38fb7d974d3b29e63f688923485.tar.gz
gdb-85254831c06bb38fb7d974d3b29e63f688923485.tar.bz2
PR mi/10586
* varobj.c (ANONYMOUS_STRUCT_NAME): Define. (ANONYMOUS_UNION_NAME): Define. (is_path_expr_parent): New function. (get_path_expr_parent): New function. (is_anonymous_child): New function. (create_child_with_value): If the child is anonymous and without a name, assign an object name to it. (c_describe_child): Use get_path_expr_parent to determine the parent expression. If there field represents an anonymous struct or union and has no name, set an appropriate display name and expression. (cplus_describe_child): Likewise.
Diffstat (limited to 'gdb/c-exp.y')
0 files changed, 0 insertions, 0 deletions