Patchwork Move gdbserver to top level

login
register
mail settings
Submitter Sergio Durigan Junior
Date Feb. 14, 2020, 3:54 a.m.
Message ID <8736bd3jt2.fsf@redhat.com>
Download mbox | patch
Permalink /patch/38059/
State New
Headers show

Comments

Sergio Durigan Junior - Feb. 14, 2020, 3:54 a.m.
On Tuesday, February 11 2020, Tom Tromey wrote:

>>>>>> "Sergio" == Sergio Durigan Junior <sergiodj@redhat.com> writes:
>
> Sergio> I wonder why...  We build GDB from scratch on every build.  Is there
> Sergio> anything special that needs to be done to run the gdbserver tests now?
>
> No, I just neglected to update the gdb test suite to find gdbserver in
> the new spot.
>
> I will send a patch momentarily.

I'm attaching a patch that works OK for me here.  WDYT?
Tom Tromey - Feb. 14, 2020, 6:37 p.m.
>>>>> "Sergio" == Sergio Durigan Junior <sergiodj@redhat.com> writes:

Sergio> I'm attaching a patch that works OK for me here.  WDYT?

This one includes that:

https://sourceware.org/ml/gdb-patches/2020-02/msg00426.html

I see that Luis responded.  I'll read that and see what's up.

Tom
Tom Tromey - Feb. 14, 2020, 9:14 p.m.
>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:

>>>>> "Sergio" == Sergio Durigan Junior <sergiodj@redhat.com> writes:
Sergio> I'm attaching a patch that works OK for me here.  WDYT?

Tom> This one includes that:

Tom> https://sourceware.org/ml/gdb-patches/2020-02/msg00426.html

Tom> I see that Luis responded.  I'll read that and see what's up.

I'm going to check it in now.

Tom

Patch

diff --git a/gdb/testsuite/boards/gdbserver-base.exp b/gdb/testsuite/boards/gdbserver-base.exp
index 4db834dd84..f27a2fdf91 100644
--- a/gdb/testsuite/boards/gdbserver-base.exp
+++ b/gdb/testsuite/boards/gdbserver-base.exp
@@ -22,7 +22,7 @@  process_multilib_options ""
 set_board_info compiler "[find_gcc]"
 
 # Test the copy of gdbserver in the build directory.
-set_board_info gdb_server_prog "[pwd]/../gdbserver/gdbserver"
+set_board_info gdb_server_prog "[pwd]/../../gdbserver/gdbserver"
 
 # gdbserver does not intercept target file operations and perform them
 # on the host.