From: Michael Chastain Date: Wed, 26 Mar 2003 22:10:39 +0000 (+0000) Subject: 2003-03-26 Michael Chastain X-Git-Tag: binutils-2_14-branchpoint~378 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e8c7183923a49df987fce9bd590a603abd36e052;p=platform%2Fupstream%2Fbinutils.git 2003-03-26 Michael Chastain * gdb.base/ptype.exp: Actually use some typedef'd types. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 433708822bf..66a1eb6f775 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2003-03-26 Michael Chastain + + * gdb.base/ptype.exp: Actually use some typedef'd types. + 2003-03-21 Stephane Carrez * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812. 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