From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4580 invoked by alias); 19 Sep 2012 09:49:54 -0000 Received: (qmail 4571 invoked by uid 22791); 19 Sep 2012 09:49:54 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,SPF_FAIL X-Spam-Check-By: sourceware.org Received: from gbenson.demon.co.uk (HELO gbenson.demon.co.uk) (80.177.220.214) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 19 Sep 2012 09:49:36 +0000 Date: Wed, 19 Sep 2012 09:49:00 -0000 From: Gary Benson To: Jan Kratochvil Cc: gdb-patches@sourceware.org Subject: Re: [RFA 4/4 take 2] Improved linker-debugger interface Message-ID: <20120919094933.GA3023@redhat.com> Mail-Followup-To: Jan Kratochvil , gdb-patches@sourceware.org References: <20120719110518.GE16185@redhat.com> <20120815172346.GA5696@host2.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120815172346.GA5696@host2.jankratochvil.net> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-09/txt/msg00384.txt.bz2 Hi Jan, Jan Kratochvil wrote: > solib-svr4.c is current not used by with gdbsrver and its recent > linux_qxfer_libraries_svr4. > > Your testcases is skipped if [is_remote target], with the current > general goal to unify linux-nat with gdbserver and drop linux-nat > afterwards I do not think we should accept more patches increasing > the linux-nat vs. gdbserver gap. The testcase should be > specifically compatible with gdbserver. > > To give the background: solib-svr4.c is more general and it is kept > for all possible corner cases, it also supports more OSes than just > GNU/Linux. Compared to it linux-low.c can be easier, this is why it > is reimplemented and not shared with solib-svr4.c (it could be > shared more but it is not). Therefore maybe your extensions on top > of it all are not feasible for gdb/common/ but they should be at > least reimplemented also for linux-low.c How do I configure/build/test gdb so that it is using linux-low.c? I've updated the tests to work with gdbserver, but with my current setup solib-svr4.c is being used, so all the tests are passing. Thanks, Gary -- http://gbenson.net/