This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Using gdbserver to debug shared library


Hello,

I work on an in-house embedded OS.  It uses ppc-eabi format.
We have already ported gdbserver. We would like to have
support for shared library.
After looking in the source gdb, it seems that remote debbuging
of dynamic executable is not supported.
I see at least the following problems:
        solib.c: #include <link.h> and read_memory (something
which implicitly cast the link_map structure) which disable the
cross use.
        ppc-eabi.mt: the link with rs6000-tdep.o because
rs6000-tdep.c include xcoffsolib.h.

Has anyone else worked or is working on a cross gdb with
shared library support?

Thanks a lot in advance for your help.

                                            Alain


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]