This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [testsuite] setting sysroot for target-board
- From: Tom Tromey <tromey at redhat dot com>
- To: Wei-cheng Wang <cole945 at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 05 May 2011 11:36:40 -0600
- Subject: Re: [testsuite] setting sysroot for target-board
- References: <BANLkTinu5NfH_iG5OJNpLoWurxHe76vv6A@mail.gmail.com>
>>>>> ">" == Wei-cheng Wang <cole945@gmail.com> writes:
>> When testing remote cross-target, libc and other shared libraries
>> will not be compatible with the one on host.
>> This patch adds support for setting sysroot in target-board files, e.g.,
>> set_board_info gdb,sysroot "/path/to/target/libc",
>> so that testsuite can be used for remote cross-target.
I think this looks reasonable.
There is a comment just above the definition of gdb_target_cmd that
needs an update for this new parameter.
This patch also needs a ChangeLog entry.
Tom