No support in gdb for debugging GNUstep Objective-C binaries. Patch attached. Reproducible: Always Steps to Reproduce: Patch requires that ftp://ftp.gnustep.org/pub/gnustep/patches/gdb-5_3-objc-patch.tgz be extracted to sys-devel/apps/gdb/distfiles. Currently I unconditionally add support. Perhaps a "gnustep" USE variable should be added to Gentoo? BEGIN PATCH *** /usr/portage/sys-devel/gdb/gdb-5.3.ebuild Thu Feb 13 10:53:02 2003 --- gdb-5.3.ebuild Thu Feb 27 15:52:15 2003 *************** *** 19,24 **** --- 19,40 ---- inherit flag-o-matic replace-flags -O? -O2 + src_unpack() { + cd ${WORKDIR} + unpack gdb-${PV}.tar.bz2 + cd ${S} + + patch -p1 < ${FILESDIR}/gdb-5_3-objc-patch/gdb-5.3-objc-patch.diff || di e + cp ${FILESDIR}/gdb-5_3-objc-patch/objc-exp.y gdb/ + cp ${FILESDIR}/gdb-5_3-objc-patch/objc-lang.c gdb/ + cp ${FILESDIR}/gdb-5_3-objc-patch/objc-lang.h gdb/ + cp -r ${FILESDIR}/gdb-5_3-objc-patch/gdb.objc gdb/testsuite/ + cd gdb/testsuite + autoconf || die + cd ${S} + + } + src_compile() { local myconf END PATCH
Is this going to get merged into gdb any time. If so then I can wait for the next release, which will have it in. If not, then why not, is there some problem with it? If so then why should gentoo users have bugging there gdb. I will put it in and it will only be used if the OBJC env variable is set. ( use flags are difficult to get accepted by the gentoo heads! ) Thanks for your time, Stefan
Done, via objc use variable, will get to the rsync mirrors on the next hour. Closing bug.