gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 6 May 2011 13:47:07 +0000 (13:47 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 6 May 2011 13:47:07 +0000 (13:47 +0000)
commit1976171a47ef25e0b893222c5d704c89a8678ed7
tree79d7bd281caae5d952e075f99706c3829d314c5f
parent7db6f30f9d4707b04e7292d7d8bfa5d37eaff67f
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]