cross compiling gdb for ppc
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:[email protected]
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 8 lines · In message <[email protected]> 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: [email protected] 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/
Hi
The solution worked.
I had to change the variable in solib.c file.
Thanks a ton
Quoted 23 lines · --- Wolfgang Denk
In message <[email protected]>
Quoted 2 lines · you
When I run the gdb to debug the core file it
somehow
Quoted 5 lines
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
Quoted 1 line
to make gdb point to correct libraries.
RTFM.
See especially the "solib-absolute-prefix" variable.
Best regards,
Wolfgang Denk
Quoted 8 lines
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88
Email: [email protected]
What the gods would destroy they first submit to an
IEEE standards
committee.
=====
mailto:[email protected]
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/