* Taking other sources to compile gdb for the target
@ 2008-05-13 17:29 Geert Vancompernolle
2008-05-13 17:42 ` Daniel Jacobowitz
0 siblings, 1 reply; 3+ messages in thread
From: Geert Vancompernolle @ 2008-05-13 17:29 UTC (permalink / raw)
To: gdb
Hi,
Is there any possibility to tell the Insight make environment to take
the GDB sources from another place then the one provided with the
Insight source tree?
I've just successfully compiled Insight for mips2_fp_le, but when using
the mips2_fp_le-gdb.exe in combination with the gdbserver delivered for
mips2_fp_le (by MontaVista), the application crashes (I'm getting a
sigtrap 5 very soon...)
I think the reason is that gdbserver is a way older version compared to
the brand new gdb sources of the Insight installation.
What I did for the moment, was replacing mips2_fp_le-gdb.exe from
Insight with mips2_fp_le-gdb.exe from MontaVista, so that gdb and
gdbserver again match with each other. And that seems to work...
It would be better, though, if I could tell Insight to take the (older)
sources for gdb from the MontaVista source tree.
Any command line parameter who can do this?
--
Best rgds,
-- Geert
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Taking other sources to compile gdb for the target
2008-05-13 17:29 Taking other sources to compile gdb for the target Geert Vancompernolle
@ 2008-05-13 17:42 ` Daniel Jacobowitz
2008-05-13 18:06 ` Geert Vancompernolle
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2008-05-13 17:42 UTC (permalink / raw)
To: Geert Vancompernolle; +Cc: gdb
On Tue, May 13, 2008 at 07:28:55PM +0200, Geert Vancompernolle wrote:
> Hi,
>
> Is there any possibility to tell the Insight make environment to take the
> GDB sources from another place then the one provided with the Insight
> source tree?
This is the wrong list for Insight-specific questions. In any case
the answer will be no. GDB and Insight form part of the same program
when you build Insight; they must come from the same version of
sources.
> I think the reason is that gdbserver is a way older version compared to
> the brand new gdb sources of the Insight installation.
No. MontaVista has patches to GDB and gdbserver. You need to either
use their version of both or FSF versions of both.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Taking other sources to compile gdb for the target
2008-05-13 17:42 ` Daniel Jacobowitz
@ 2008-05-13 18:06 ` Geert Vancompernolle
0 siblings, 0 replies; 3+ messages in thread
From: Geert Vancompernolle @ 2008-05-13 18:06 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
Daniel Jacobowitz wrote:
> This is the wrong list for Insight-specific questions.
You're right. I was busy preparing a message (this one) for Insight and
one for GDB, but they unfortunately went both to GDB. Sorry for that...
But the answer is clear: no way to use another GDB source tree...
Thanks.
--
Best rgds,
-- Geert
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-05-13 18:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-13 17:29 Taking other sources to compile gdb for the target Geert Vancompernolle
2008-05-13 17:42 ` Daniel Jacobowitz
2008-05-13 18:06 ` Geert Vancompernolle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox