Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* GdbServer: is it compiled?
@ 2008-05-13 17:35 Geert Vancompernolle
  2008-05-13 17:41 ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Geert Vancompernolle @ 2008-05-13 17:35 UTC (permalink / raw)
  To: gdb

Hi,

When compiling Insight for a certain host and target, is gdbserver also 
compiled?  I've seen the sources are there, but I don't know if the 
application is compiled, because I can't find it.

If not, can this be done?

If this can be done, how?  I would like to have a matching gdb - 
gdbserver, since I don't have that match for the moment (see previous 
thread titled "Taking other sources to compile gdb for the target" here 
<http://sourceware.org/ml/gdb/2008-05/msg00096.html>)


Beware:  the gdbserver should be cross compiled to run on a mips2_fp_le 
embedded Linux platform, not on a PC or "normal" Linux distro...

-- 
Best rgds,

-- Geert


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

* Re: GdbServer: is it compiled?
  2008-05-13 17:35 GdbServer: is it compiled? Geert Vancompernolle
@ 2008-05-13 17:41 ` Daniel Jacobowitz
  2008-05-13 18:25   ` Michael Snyder
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2008-05-13 17:41 UTC (permalink / raw)
  To: Geert Vancompernolle; +Cc: gdb

On Tue, May 13, 2008 at 07:34:44PM +0200, Geert Vancompernolle wrote:
> When compiling Insight for a certain host and target, is gdbserver also  
> compiled?  I've seen the sources are there, but I don't know if the  
> application is compiled, because I can't find it.

No, if you are building a cross debugger, then it is a program to run
on your host.  You want gdbserver to run on your target, so it needs
different configuration options.  Configure it separately; see
gdb/gdbserver/README for details.

-- 
Daniel Jacobowitz
CodeSourcery


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

* Re: GdbServer: is it compiled?
  2008-05-13 17:41 ` Daniel Jacobowitz
@ 2008-05-13 18:25   ` Michael Snyder
  2008-05-13 18:27     ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Snyder @ 2008-05-13 18:25 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: Geert Vancompernolle, gdb

On Tue, 2008-05-13 at 13:40 -0400, Daniel Jacobowitz wrote:
> On Tue, May 13, 2008 at 07:34:44PM +0200, Geert Vancompernolle wrote:
> > When compiling Insight for a certain host and target, is gdbserver also  
> > compiled?  I've seen the sources are there, but I don't know if the  
> > application is compiled, because I can't find it.
> 
> No, if you are building a cross debugger, then it is a program to run
> on your host.  You want gdbserver to run on your target, so it needs
> different configuration options.  Configure it separately; see
> gdb/gdbserver/README for details.

That's not quite right, I think...

Whether to build gdbserver is configured by gdb/configure.tgt, 
depending on which target is chosen.  It gets added to the
build_subdirs in the makefile.

Or so I think...



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

* Re: GdbServer: is it compiled?
  2008-05-13 18:25   ` Michael Snyder
@ 2008-05-13 18:27     ` Daniel Jacobowitz
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2008-05-13 18:27 UTC (permalink / raw)
  To: Michael Snyder; +Cc: Geert Vancompernolle, gdb

On Tue, May 13, 2008 at 11:24:48AM -0700, Michael Snyder wrote:
> Whether to build gdbserver is configured by gdb/configure.tgt, 
> depending on which target is chosen.  It gets added to the
> build_subdirs in the makefile.

Only for native builds of GDB.  If you're building a cross-GDB it will
never be built automatically, since the configure script won't go
looking for a cross-compiler.

-- 
Daniel Jacobowitz
CodeSourcery


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

end of thread, other threads:[~2008-05-13 18:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-13 17:35 GdbServer: is it compiled? Geert Vancompernolle
2008-05-13 17:41 ` Daniel Jacobowitz
2008-05-13 18:25   ` Michael Snyder
2008-05-13 18:27     ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox