Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Chris Packham <judge.packham@gmail.com>
To: gdb@sourceware.org
Subject: Building gdbserver without building gdb
Date: Thu, 11 Jun 2015 04:45:00 -0000	[thread overview]
Message-ID: <CAFOYHZAyQ6O8DUjGZo9aXBhFEwuN-ZEmFnaWcneiK=JyTeZORA@mail.gmail.com> (raw)

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


             reply	other threads:[~2015-06-11  4:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-11  4:45 Chris Packham [this message]
2015-06-11  5:11 ` Chris Packham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFOYHZAyQ6O8DUjGZo9aXBhFEwuN-ZEmFnaWcneiK=JyTeZORA@mail.gmail.com' \
    --to=judge.packham@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox