aboutsummaryrefslogtreecommitdiff
path: root/gdb/eval.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2016-10-28 12:03:18 +0100
committerPedro Alves <palves@redhat.com>2016-10-28 15:52:27 +0100
commitf610ab6d3cbab5d8b8ef3f3a93dd81a800ec5725 (patch)
tree1b55ebc21b3c3a8f9c256b76191ea39af14aefbf /gdb/eval.c
parentb129b0cacd4c8e982605b7c8d99e96c74155882a (diff)
downloadgdb-f610ab6d3cbab5d8b8ef3f3a93dd81a800ec5725.zip
gdb-f610ab6d3cbab5d8b8ef3f3a93dd81a800ec5725.tar.gz
gdb-f610ab6d3cbab5d8b8ef3f3a93dd81a800ec5725.tar.bz2
gdb/testsuite: Avoid a buffer overrun in `gdb.base/maint.exp'
Fixes: PASS: gdb.base/maint.exp: maint w/o args ERROR: internal buffer is full. UNRESOLVED: gdb.base/maint.exp: maint info line-table w/o a file name The problem is just many symtabs and long line tables, enough to overflow the expect buffer. Fix this by matching input incrementally. gdb/testsuite/ChangeLog: 2016-10-28 Pedro Alves <palves@redhat.com> * gdb.base/maint.exp <maint info line-table w/o a file name>: Use gdb_test_multiple, tighten regexps and match symtabs and line tables incrementally.
Diffstat (limited to 'gdb/eval.c')
0 files changed, 0 insertions, 0 deletions