diff options
author | Sterling Augustine <saugustine@google.com> | 2011-10-11 19:19:08 +0000 |
---|---|---|
committer | Sterling Augustine <saugustine@google.com> | 2011-10-11 19:19:08 +0000 |
commit | 9c6c53f727812659468627db13addcc5e4f9342a (patch) | |
tree | ee8e2d306b1c39b6362fcf4abe385fd3ca64ea71 /gdb/testsuite/gdb.cp/namespace-enum-main.cc | |
parent | 205c306f8020479681add9d274b2c261acc48318 (diff) | |
download | gdb-9c6c53f727812659468627db13addcc5e4f9342a.zip gdb-9c6c53f727812659468627db13addcc5e4f9342a.tar.gz gdb-9c6c53f727812659468627db13addcc5e4f9342a.tar.bz2 |
gdb/ChangeLog
2011-10-11 Sterling Augustine <saugustine@google.com>
* dwarf2read.c (partial_die_parent_scope): Rearrange conditional
logic.
gdb/testsuite/ChangeLog
2011-10-11 Sterling Augustine <saugustine@google.com>
* gdb.cp/Makefile.in: Add namespace-enum test.
* gdb.cp/namespace-enum.exp: New file.
* gdb.cp/namespace-enum.c: New file.
* gdb.cp/namespace-enum-main.c: New file.
Diffstat (limited to 'gdb/testsuite/gdb.cp/namespace-enum-main.cc')
-rw-r--r-- | gdb/testsuite/gdb.cp/namespace-enum-main.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/namespace-enum-main.cc b/gdb/testsuite/gdb.cp/namespace-enum-main.cc new file mode 100644 index 0000000..aaddb8a --- /dev/null +++ b/gdb/testsuite/gdb.cp/namespace-enum-main.cc @@ -0,0 +1,5 @@ +namespace foo { +int aglobal = 0; +} + +int main() {return 0;} |