aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib/gdbserver-support.exp
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-04-07 18:19:30 +0100
committerPedro Alves <palves@redhat.com>2015-04-07 18:27:24 +0100
commit71c0ee8cb9d7d77e8b480aaad715cc5343737993 (patch)
tree0cd2b9ef275941c0c7eaaefae3256b2c0e46737f /gdb/testsuite/lib/gdbserver-support.exp
parent203bc29be2b44cffa7a3d64c8a20a0fb6828518d (diff)
downloadgdb-71c0ee8cb9d7d77e8b480aaad715cc5343737993.zip
gdb-71c0ee8cb9d7d77e8b480aaad715cc5343737993.tar.gz
gdb-71c0ee8cb9d7d77e8b480aaad715cc5343737993.tar.bz2
gdb_test_multiple: Fix user code argument processing
While teaching gdb_test_multiple to forward "-i" to gdb_expect, I found that with: gdb_test_multiple (...) { -i $some_variable -re "..." {} } $some_variable was not getting expanded in the gdb_test_multiple caller's scope. This is a bug inside gdb_test_multiple. When processing an argument in passed in user code, it was appending the original argument literally, instead of appending the uplist'ed argument. gdb/testsuite/ChangeLog: 2015-04-07 Pedro Alves <palves@redhat.com> * lib/gdb.exp (gdb_test_multiple): When processing an argument, append the substituted item, not the original item.
Diffstat (limited to 'gdb/testsuite/lib/gdbserver-support.exp')
0 files changed, 0 insertions, 0 deletions