gdb
authorTom Tromey <tromey@redhat.com>
Thu, 30 Sep 2010 17:51:39 +0000 (17:51 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 30 Sep 2010 17:51:39 +0000 (17:51 +0000)
commit9ae8282da74ec1fbc0f89d87e645cbaabfa609ce
treea9242e14a57148f7c249f096ae437ade3f50e6ce
parente7390eec2e49ac9d5bf459e26dcf905aa74c2e07
gdb
* completer.c (count_struct_fields): Handle anonymous structs and
unions.
(add_struct_fields): Likewise.
gdb/testsuite
* gdb.base/completion.exp: Test completion through anonymous
union.
* gdb.base/break1.c (struct some_struct): Add anonymous union.
gdb/ChangeLog
gdb/completer.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/break1.c
gdb/testsuite/gdb.base/completion.exp