From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21924 invoked by alias); 11 Jun 2015 04:45:50 -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 21914 invoked by uid 89); 11 Jun 2015 04:45:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ie0-f196.google.com Received: from mail-ie0-f196.google.com (HELO mail-ie0-f196.google.com) (209.85.223.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 11 Jun 2015 04:45:48 +0000 Received: by ierx19 with SMTP id x19so860396ier.3 for ; Wed, 10 Jun 2015 21:45:46 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.50.79.167 with SMTP id k7mr10204474igx.32.1433997946406; Wed, 10 Jun 2015 21:45:46 -0700 (PDT) Received: by 10.79.109.12 with HTTP; Wed, 10 Jun 2015 21:45:46 -0700 (PDT) Date: Thu, 11 Jun 2015 04:45:00 -0000 Message-ID: Subject: 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/msg00006.txt.bz2 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