From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96237 invoked by alias); 11 Jun 2015 05:11:21 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 95979 invoked by uid 89); 11 Jun 2015 05:10:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ig0-f193.google.com Received: from mail-ig0-f193.google.com (HELO mail-ig0-f193.google.com) (209.85.213.193) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 11 Jun 2015 05:10:43 +0000 Received: by igdh15 with SMTP id h15so8831470igd.1 for ; Wed, 10 Jun 2015 22:10:41 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.107.8.208 with SMTP id h77mr8842671ioi.51.1433999440943; Wed, 10 Jun 2015 22:10:40 -0700 (PDT) Received: by 10.79.109.12 with HTTP; Wed, 10 Jun 2015 22:10:40 -0700 (PDT) In-Reply-To: References: Date: Thu, 11 Jun 2015 05:11:00 -0000 Message-ID: Subject: Re: Building gdbserver without building gdb From: Chris Packham To: gdb@sourceware.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-06/txt/msg00007.txt.bz2 On Thu, Jun 11, 2015 at 4:45 PM, Chris Packham wrote: > Hi, > > I'm working in a cross-build environment and we've been happily > compiling gdbserver for our targets following the instructions on the > wiki[1]. Today I thought I'd give the latest and greatest version a > spin and found that I can't compile just gdbserver I get the following > error > > linux-low.o: In function `not_stopped_callback': > gdb-7.9.1/gdb/gdbserver/linux-low.c:1471: undefined reference to `ptid_match' > > I also tried gdb-7.8.2 with similar results. We have been happily > compiling gdbserver from gdb-7.7.1 > > A quick search of the source show that the call to ptid_match has been > added to gdbserver/linux-low.c in the newer versions. Any suggestions > on how to compile gdbserver independently of gdb? > > Thanks, > Chris > > -- > [1] - https://sourceware.org/gdb/wiki/BuildingCrossGDBandGDBserver Actually sorry scratch that. Our system builder was still passing ./configure arguments for gdbserver 7.7.1 which no longer seem needed.