test, gcore: move capture_command_output into lib/gdb.exp
authorMarkus Metzger <markus.t.metzger@intel.com>
Tue, 20 May 2014 07:48:43 +0000 (09:48 +0200)
committerMarkus Metzger <markus.t.metzger@intel.com>
Fri, 23 May 2014 07:09:40 +0000 (09:09 +0200)
commite9089e05b6a1a89ba6b8f3123f9d76bf066e3db7
tree233be60dffc1419a54ca76d4bf87e5fc18962508
parent67b5c0c1a4336318f23f65b8fa98a08b569c5c39
test, gcore: move capture_command_output into lib/gdb.exp

Allow gcore's capture_command_output function to be used by other tests.

testsuite/
* gdb.base/gcore.exp (capture_command_output): Move ...
* lib/gdb.exp (capture_command_output): ... here.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/gcore.exp
gdb/testsuite/lib/gdb.exp