This is the mail archive of the gdb-patches@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]

Re: Patch to tm-linux.h



> This patch was suggested by Stu; it was necessary to get line number info
> from shared libraries built with the devo ld.  Of course, I don't know if
> the new ld behavior is intended.

SOFUN_ADDRESS_MAYBE_MISSING is a workaround for a problem originally
found in some Solaris compilers.  Although I don't have the full
picture, I really think this GDB change is just papering over a larger
problem.  So I am reluctant to apply this without a more detailed
explanation of what's going on.

For example, GDB does not apply relocs to stabs information.  In
ordinary executables, this is fine, because there are no such relocs.
In shared libraries, there may be some dynamic relocs for the .stabs
section.  Perhaps the behavior you've observed is just another symptom
of this bug.

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