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]

Re: [PATCH 1/3] Copy set_unbuffered_mode_saved.o on remote host


On 07/18/2013 12:28 AM, Tom Tromey wrote:
> I'm curious if you have instructions for how to do this.  I need to set
> it up to make sure my parallelization changes don't break anything.
> 

Tom,
I still have queued patches for mingw native gdb testing, so the result
of native mingw gdb on remote host testing is not representative.
However, you can try to run linux native gdb in remote host testing to
see how parallelization affects the results.  Save this below as file
local-remote-host-target.exp in gdb/testsuite/boards/,

# $ make check RUNTESTFLAGS="--host_board=local-remote-host-target --target_board=local-remote-host-target"

if { $board_type == "target" } {
    set_board_info compiler gcc
}

global GDB
set GDB [file join [pwd] "../gdb"]

set_board_info hostname 127.0.0.1

set_board_info username $env(USER)

# The ssh key should be correctly set up that you ssh to 127.0.0.1
# without having to type password.
set_board_info rsh_prog /usr/bin/ssh
set_board_info rcp_prog /usr/bin/scp
set_board_info file_transfer "rsh"

and I use it to test native linux gdb.  We can use board file
local-remote-host.exp too.

Of course, I'll submit my queued patches and board file for mingw gdb
remote host testing later.

> Yao> 2013-07-10  Yao Qi<yao@codesourcery.com>
> Yao> 	* lib/gdb.exp (gdb_compile): Set
> Yao> 	gdb_saved_set_unbuffered_mode_obj to
> Yao> 	set_unbuffered_mode_saved.o if host is remote.  Invoke
> Yao> 	remote_download to copy $unbuf_obj to host.
> 
> Ok.

Thanks for the review.  Committed.

-- 
Yao (éå)


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