diff options
author | Geoffrey Keating <geoffk@geoffk.org> | 2007-03-16 01:09:26 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@geoffk.org> | 2007-03-16 01:09:26 +0000 |
commit | 8d3010701b7ec0c8af9e2f118608d2ba0ba86ed4 (patch) | |
tree | 94366e58cd28132a25ec431dba041e72271f68b7 /libiberty/testsuite | |
parent | 27c1e22ef108eafcdb257123f9eb07c3f8ef524d (diff) | |
download | gdb-8d3010701b7ec0c8af9e2f118608d2ba0ba86ed4.zip gdb-8d3010701b7ec0c8af9e2f118608d2ba0ba86ed4.tar.gz gdb-8d3010701b7ec0c8af9e2f118608d2ba0ba86ed4.tar.bz2 |
* cp-demangle.c (d_encoding): Exit early on error.
(d_pointer_to_member_type): Exit early if cplus_demangle_type
returns NULL.
(cplus_demangle_type): Likewise.
* testsuite/demangle-expected: New testcase.
Diffstat (limited to 'libiberty/testsuite')
-rw-r--r-- | libiberty/testsuite/demangle-expected | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libiberty/testsuite/demangle-expected b/libiberty/testsuite/demangle-expected index 56d9f89..471819e 100644 --- a/libiberty/testsuite/demangle-expected +++ b/libiberty/testsuite/demangle-expected @@ -3838,3 +3838,7 @@ _ZNSA --format=gnu-v3 _ZNT _ZNT +# Dereferencing NULL in d_pointer_to_member_type +--format=gnu-v3 +_Z1aMark +_Z1aMark |