OSDN Git Service

gdb/
authorjkratoch <jkratoch>
Fri, 6 May 2011 13:47:05 +0000 (13:47 +0000)
committerjkratoch <jkratoch>
Fri, 6 May 2011 13:47:05 +0000 (13:47 +0000)
commit0307f280daf067906c2838b874d16e8321fdfb4c
tree20cd94ea6fc20e4d165dbee1a44298a3ae1ac73b
parentc87ec2c1f4246da02cb363282612e7885e1f6978
gdb/
* symtab.c (compare_symbol_name): New function.
(completion_list_add_name, expand_partial_symbol_name): Call it,
remove the variable ncmp.
(default_make_symbol_completion_list_break_on): Reduce SYM_TEXT_LEN,
gdb_assert it.

gdb/testsuite/
* gdb.cp/psymtab-parameter.cc: New file.
* gdb.cp/psymtab-parameter.exp: New file.
gdb/ChangeLog
gdb/symtab.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/psymtab-parameter.cc [new file with mode: 0644]
gdb/testsuite/gdb.cp/psymtab-parameter.exp [new file with mode: 0644]