public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Building gdbserver without building gdb
@ 2015-06-11  4:45 Chris Packham
  2015-06-11  5:11 ` Chris Packham
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Packham @ 2015-06-11  4:45 UTC (permalink / raw)
  To: gdb

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Building gdbserver without building gdb
  2015-06-11  4:45 Building gdbserver without building gdb Chris Packham
@ 2015-06-11  5:11 ` Chris Packham
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Packham @ 2015-06-11  5:11 UTC (permalink / raw)
  To: gdb

On Thu, Jun 11, 2015 at 4:45 PM, Chris Packham <judge.packham@gmail.com> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-11  5:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-11  4:45 Building gdbserver without building gdb Chris Packham
2015-06-11  5:11 ` Chris Packham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).