* cross compiling gdb for ppc
@ 2003-07-11 4:57 Miku Jha
2003-07-11 7:02 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: Miku Jha @ 2003-07-11 4:57 UTC (permalink / raw)
To: linuxppc-embedded
Hi
I have downloaded gdb version 5.3 and cross compiled
it for target ppc-linux.
When I run the gdb to debug the core file it somehow
refers to the libraries in the /lib path
the libraries for my target machine are somewhere
else.
I wanted to know if there is any option or workaround
to make gdb point to correct libraries.
Also I am not sure if there are some aditional stuff
to be done when cross compiling GDB for power pc
Any help appreciated.
Thanks
=====
mailto:jha_miku@yahoo.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cross compiling gdb for ppc
2003-07-11 4:57 cross compiling gdb for ppc Miku Jha
@ 2003-07-11 7:02 ` Wolfgang Denk
2003-07-11 20:44 ` Miku Jha
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2003-07-11 7:02 UTC (permalink / raw)
To: Miku Jha; +Cc: linuxppc-embedded
In message <20030711045749.4201.qmail@web40306.mail.yahoo.com> you wrote:
>
> When I run the gdb to debug the core file it somehow
> refers to the libraries in the /lib path
> the libraries for my target machine are somewhere
> else.
>
> I wanted to know if there is any option or workaround
> to make gdb point to correct libraries.
RTFM.
See especially the "solib-absolute-prefix" variable.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
What the gods would destroy they first submit to an IEEE standards
committee.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cross compiling gdb for ppc
2003-07-11 7:02 ` Wolfgang Denk
@ 2003-07-11 20:44 ` Miku Jha
0 siblings, 0 replies; 3+ messages in thread
From: Miku Jha @ 2003-07-11 20:44 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: linuxppc-embedded
Hi
The solution worked.
I had to change the variable in solib.c file.
Thanks a ton
--- Wolfgang Denk <wd@denx.de> wrote:
> In message
> <20030711045749.4201.qmail@web40306.mail.yahoo.com>
> you wrote:
> >
> > When I run the gdb to debug the core file it
> somehow
> > refers to the libraries in the /lib path
> > the libraries for my target machine are somewhere
> > else.
> >
> > I wanted to know if there is any option or
> workaround
> > to make gdb point to correct libraries.
>
> RTFM.
>
> See especially the "solib-absolute-prefix" variable.
>
>
> Best regards,
>
> Wolfgang Denk
>
> --
> Software Engineering: Embedded and Realtime
> Systems, Embedded Linux
> Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88
> Email: wd@denx.de
> What the gods would destroy they first submit to an
> IEEE standards
> committee.
=====
mailto:jha_miku@yahoo.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-07-11 20:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-11 4:57 cross compiling gdb for ppc Miku Jha
2003-07-11 7:02 ` Wolfgang Denk
2003-07-11 20:44 ` Miku Jha
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 NNTP newsgroup(s).