This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Patch to tm-linux.h
- To: gdb-patches@sourceware.cygnus.com
- Subject: Patch to tm-linux.h
- From: Jason Merrill <jason@cygnus.com>
- Date: Mon, 14 Jun 1999 20:28:35 -0700
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.
1999-06-14 Jason Merrill <jason@yorick.cygnus.com>
* config/i386/tm-linux.h (SOFUN_ADDRESS_MAYBE_MISSING): Define to 1.
Index: config/i386/tm-linux.h
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/config/i386/tm-linux.h,v
retrieving revision 1.7
diff -c -p -r1.7 tm-linux.h
*** config/i386/tm-linux.h 1998/04/22 01:44:37 1.7
--- config/i386/tm-linux.h 1999/06/15 03:25:51
*************** Foundation, Inc., 59 Temple Place - Suit
*** 35,38 ****
--- 35,42 ----
/* The following works around a problem with /usr/include/sys/procfs.h */
#define sys_quotactl 1
+ /* With recent versions of GNU ld, this is necessary to get correct line
+ number information from shared libraries. */
+ #define SOFUN_ADDRESS_MAYBE_MISSING 1
+
#endif /* #ifndef TM_LINUX_H */