diff options
author | Michael Chastain <mec.gnu@mindspring.com> | 2003-03-26 22:10:39 +0000 |
---|---|---|
committer | Michael Chastain <mec.gnu@mindspring.com> | 2003-03-26 22:10:39 +0000 |
commit | 6a74b20a5f6fda03c0bbc8b5ae4185d786ff4110 (patch) | |
tree | 10b214a4725a13d8cf85681cb367e16d64f2482b /gdb/testsuite/gdb.base | |
parent | dd8ecb1e6f5c9f1ee4be84e17f3b4f12211355bb (diff) | |
download | gdb-6a74b20a5f6fda03c0bbc8b5ae4185d786ff4110.tar.gz |
2003-03-26 Michael Chastain <mec@shout.net>
* gdb.base/ptype.exp: Actually use some typedef'd types.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r-- | gdb/testsuite/gdb.base/ptype.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/ptype.c b/gdb/testsuite/gdb.base/ptype.c index 2c85c7c88fc..397a714692b 100644 --- a/gdb/testsuite/gdb.base/ptype.c +++ b/gdb/testsuite/gdb.base/ptype.c @@ -59,6 +59,7 @@ double v_double_array[2]; /* PR 3742 */ typedef char t_char_array[]; +t_char_array *pv_char_array; /**** pointers *******/ @@ -237,6 +238,8 @@ int (*xptr) (int (*) (), int (*) (void), int); int (*(*ffptr) (char)) (short); int (*(*(*fffptr) (char)) (short)) (long); +func_type v_func_type; + /* Here are the sort of stabs we expect to see for the above: .stabs "func_type:t(0,100)=*(0,101)=g(0,1)(0,102)=*(0,103)=g(0,1)(0,1)(0,14)#(0,14)#",128,0,234,0 |