gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 6 Jul 2012 15:51:40 +0000 (15:51 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 6 Jul 2012 15:51:40 +0000 (15:51 +0000)
commit76b83c514f6b202659c8b600b20fe0e107f83f6f
treeaf36fda3bfca8aec4d85d31f156a90c6c1a56759
parenta6fb9c08a9ac65df98ca8829f43083feda19a6fe
gdb/
PR 14321
* findcmd.c (parse_find_args): New variable pattern_buf_size_need.
Increase buffer sizes to 2x we need, not just 2x of the previous size.

gdb/testsuite/
PR 14321
* gdb.base/find.exp
(find int64_search_buf, +64/8*100, int64_search_buf): New test.
gdb/ChangeLog
gdb/findcmd.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/find.exp