This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] fix remote host test failures in testsuite


Hi,

This patch will make GDB testsuite support remote host test better.
It updates gdb.exp's function build_id_debug_filename_get and
gdb_gnu_strip_debug to support remote host.
It updates dup-sect.exp and sepdebug.exp to let them copy debug file
to remote host if need.
It updates info-fun.exp, solib-display.exp and solib-nodir.exp to let
them skip test if remote host because they base on share libary but I
didn't find good way to handle it in remote host.

Please help me review it.

Thanks,
Hui

2013-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
	    Sandra Loosemore  <sandra@codesourcery.com>
	    Hui Zhu  <hui@codesourcery.com>

	* gdb.base/dup-sect.exp: Copy debug info file to remote host.
	* gdb.base/info-fun.exp: Skip this test if remote host.
	* gdb.base/sepdebug.exp: Try to compile with -Wl,--build-id to
	enable build-id tests.  Download the debug file to the host.
	For local hosts, test the .debug subdirectory explicitly.
	Comment debug-file-directory test.  Run commands on host instead
	of build.
	* gdb.base/solib-display.exp: Skip this test if remote host.
	* gdb.base/solib-nodir.exp: Skip this test if remote host.
	* lib/gdb.exp (build_id_debug_filename_get): Run commands on
	host instead of build.
	(gdb_gnu_strip_debug): Create the debug file in the same directory
	as the executable.  Run commands on host instead of build.

Attachment: remote_host.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]