From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Smith To: gdb@sourceware.cygnus.com Subject: Re: GDB and shared libraries (was Re: Are you still with Suse) Date: Mon, 26 Feb 2001 14:50:00 -0000 Message-id: <3A9ADDF4.FD998D6E@home.com> References: <3A84136A.23BAF90F@home.com> <1010209182220.ZM4621@localhost.localdomain> <3A845A56.5EF8F61@home.com> <3A9AB471.5F46554@home.com> <1010226205415.ZM30678@localhost.localdomain> X-SW-Source: 2001-02/msg00389.html Kevin Buettner wrote: > Last October, I made some changes to GDB's infrastructure to better > support debugging of shared libraries in an embedded environment. > But this infrastructure work will only really work for an SVR4-like > shared library implementation (which, BTW, is what Linux uses). > > See http://sources.redhat.com/ml/gdb-patches/2000-10/msg00142.html Ok, when I run "$target-gcc -E -dM -x c /dev/null" I get #define __PPC__ 1 #define _BIG_ENDIAN 1 #define PPC 1 #define __svr4__ 1 #define __GNUC_MINOR__ 95 #define __CHAR_UNSIGNED__ 1 #define _ARCH_PPC 1 #define __unix 1 #define __unix__ 1 #define __GNUC__ 2 #define _CALL_SYSV 1 #define __PPC 1 #define __BIG_ENDIAN__ 1 #define unix 1 so it appears that would be a canidate. Which would you recommend: a) Patching my current code (the 5.0 release) b) Getting the latest snapshot