This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug exp/9608] whatis forgets function argument types


http://sourceware.org/bugzilla/show_bug.cgi?id=9608

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-07-06 14:47:04 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    tromey@sourceware.org    2012-07-06 14:47:00

Modified files:
    gdb            : ChangeLog c-exp.y gdbtypes.c gdbtypes.h parse.c 
                     parser-defs.h 
    gdb/testsuite  : ChangeLog 
    gdb/testsuite/gdb.base: whatis.exp 

Log message:
    PR exp/9608:
    * c-exp.y (%union) <tvec>: Change type.
    (func_mod): Now uses <tvec> type.
    (exp): Update for tvec change.
    (direct_abs_decl): Push the typelist.
    (func_mod): Return a typelist.
    (nonempty_typelist): Update for tvec change.
    * gdbtypes.c (lookup_function_type_with_arguments): New function.
    * gdbtypes.h (lookup_function_type_with_arguments): Declare.
    * parse.c (pop_type_list): New function.
    (push_typelist): New function.
    (follow_types): Handle tp_function_with_arguments.
    * parser-defs.h (type_ptr): New typedef.  Define a VEC.
    (enum type_pieces) <tp_function_with_arguments>: New constant.
    (union type_stack_elt) <typelist_val>: New field.
    (push_typelist): Declare.
    testsuite
    * gdb.base/whatis.exp: Add regression test.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14441&r2=1.14442
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/c-exp.y.diff?cvsroot=src&r1=1.94&r2=1.95
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbtypes.c.diff?cvsroot=src&r1=1.231&r2=1.232
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbtypes.h.diff?cvsroot=src&r1=1.168&r2=1.169
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/parse.c.diff?cvsroot=src&r1=1.121&r2=1.122
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/parser-defs.h.diff?cvsroot=src&r1=1.46&r2=1.47
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3276&r2=1.3277
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/whatis.exp.diff?cvsroot=src&r1=1.21&r2=1.22

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]