Reviewed and approved by Jim Blandy
authorFred Fish <fnf@specifix.com>
Wed, 4 Jan 2006 14:46:17 +0000 (14:46 +0000)
committerFred Fish <fnf@specifix.com>
Wed, 4 Jan 2006 14:46:17 +0000 (14:46 +0000)
commitf4d85314470c1e74a91349ef869931eb9ce77c05
tree2b16fc459f3183b10f7410fc714297227dbf6590
parent80911fe19f988336c8007920ebca92f68d5ff498
Reviewed and approved by Jim Blandy

2006-01-04  Fred Fish  <fnf@specifix.com>
* gdb.base/ptype.c (foo): Add typedef.
(intfoo): Add function.
* gdb.base/ptype1.c: New file.
* gdb.base/ptype.exp: Handle compilation and linking with two
source files.  Test that proper type for "foo" is found based
on source context rather than first match found in symtabs.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/ptype.c
gdb/testsuite/gdb.base/ptype.exp
gdb/testsuite/gdb.base/ptype1.c [new file with mode: 0644]