[RFA] testsuite/gdb.c++/cplusfuncs.{exp,cc}: work with either g++ demangler

Michael Elizabeth Chastain chastain@cygnus.com
Mon Feb 5 11:06:00 GMT 2001


After my patch, gdb.c++/cplusfuncs.exp contains the lines:

    # gdb-gnats bug gdb/19:
    # "gdb v3 demangler fails on hairyfunc5 hairyfunc6 hairyfunc7"
    print_addr_2 "hairyfunc5" "hairyfunc5(int (*(*)($dm_type_char_star))(long))"
    print_addr_2 "hairyfunc6" "hairyfunc6(int (*(*)($dm_type_int_star))(long))"
    print_addr_2 "hairyfunc7" "hairyfunc7(int (*(*)(int (*)(char *)))(long))"

The ChangeLog entry says that I added this note to gdb.c++/cplusfuncs.exp.
In the ChangeLog I could say: "added note that ..." because of the ambiguity
in saying "note that".

Hmmm, and that line hairyfunc7 should say "$dm_type_char_star" instead of
"char *".

Michael


More information about the Gdb-patches mailing list