Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30872 - kdbg incompatible with latest version of gdb
Summary: kdbg incompatible with latest version of gdb
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-10 16:02 UTC by daniel.johnston
Modified: 2004-10-15 23:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description daniel.johnston 2003-10-10 16:02:24 UTC
The latest version of gdb tends to spit out some information regarding
libthreads_db.so that kdbg isn't expecting to see.  The kdbg <--> gdb
integration is pretty fragile and kdbg seems to think this is an error message.
 Therefore, anytime you load an executable with kdbg, it sees the info message,
thinks it's an error, and gives up.

Reproducible: Always
Steps to Reproduce:
1. kdbg `which gdb`
2.
3.

Actual Results:  
I get a kdbg dialog box that says: <app_to_debug>: ...Using host libthread_db
library "/lib/libthread_db.so.1".  When I press OK, kdbg opens, but with no
executable loaded.  

Expected Results:  
Ignored the extra message from gdb and loaded to the executable correctly.

Portage 2.0.49-r10 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.6.0-test7)
=================================================================
System uname: 2.6.0-test7 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O9 -funroll-loops -fomit-frame-pointer -mmmx -msse
-msse2 -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O9 -funroll-loops -fomit-frame-pointer -mmmx -msse
-msse2 -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg
ncurses nls pdflib png quicktime spell truetype xml2 xv zlib alsa gdbm berkdb
readline arts java guile X pam libwww ssl perl python esd imlib oggvorbis gnome
gtk qt kde opengl mozilla gphoto2 cdr aalib acpi acpi4linux curl dga dnd dv dvd
etwin faad ffmpeg flac foreign-package foreign-sysvinit gb gd glut gnomedb
gstreamer gtk2 gtkhtml icc libgda mmx mng moznocompose moznoirc moznomail mozsvg
openal pic radeon samba sse sse2 stencil-buffer tiff usb wxwin wxwindows xine
xinerama xmms xvid -oss -apm -gpm -slang -tetex -svga -tcltk -sdl -tcpd -motif"
Comment 1 Joel Hill (RETIRED) gentoo-dev 2003-10-11 12:36:08 UTC
ive put it in out upload dir on our server it should rotate onto the mirrors
in the next 4 hours if not please reopen this.

thanks for the bug report
Comment 2 Joel Hill (RETIRED) gentoo-dev 2003-10-11 12:38:53 UTC
i hate mozilla sometimes sorry guys, reopening
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-10-27 11:34:34 UTC
Is this still true for gdb-6.0 ?
Comment 4 daRonin 2003-12-18 16:31:10 UTC
Yes, it still does this in gdb-6.0, at least on PPC platform.
kdbg is not the only thing broken, debuging in kdevelop doesn't work either...
Comment 5 SpanKY gentoo-dev 2004-10-15 23:53:49 UTC
not a bug in Gentoo