I'm trying to run the debugger in eclipse 3 (with the cdt extension), but keep getting the same error: Execution is suspended because of error. Warning: Cannot insert breakpoint 1. Error accessing memory address 0xb5a: Input/output error. I'm also getting the following on the Eclipse console: info threads No registers. No source file named output.cc. No source file named output.cc. No source file named output.cc. Warning: Cannot insert breakpoint 1. Error accessing memory address 0xb5a: Input/output error. info program Using the running image of child process 16255. Program stopped at 0xb7fec7d0. It stopped with signal SIGTRAP, Trace/breakpoint trap. Type "info stack" or "info registers" for more information. info threads No source file named output.cc. output.cc is the file that I'm trying to debug. It's a simple Hello World program from Thinking in C++: //: C02:Hello.cpp // Saying Hello with C++ #include <iostream> // Stream declarations using namespace std; int main() { cout << "Hello, World! I am " << 8 << " Today!" << endl; } ///:~ It is located at the root of my TICPP Managed C++ Project. I'm using gdb-6.2.1-r1. I've tried it with gdb-6.1 and gdb-6.0 with the same result. The url I added has some screenshots of my configuration. This could be an upstream problem, but I figured I'd take it up a level at a time. I'm not sure what other information would be necessary. Should I post my project config files? Reproducible: Always Steps to Reproduce: 1. run the debugger 2. 3. Actual Results: debugger suspended because of error Expected Results: debug the program :) Portage 2.0.51-r8 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9 i686) ============================================================== === System uname: 2.6.9 i686 Mobile Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Nov 6 2004, 18:01:00)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.4.22 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/ kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/ dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/ texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks moo sandbox sfperms" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://adelie.polymtl.ca/ http://gentoo. mirrors.pair.com/ http://gentoo.seren.com/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/ source/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/poverlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 acl acpi aim alsa apm arts artswrappersuid avantgo avi berkdb bigger-fonts bitmap- fonts bootspla bootsplash bzlib cddb cdparanoia cdr cdrom client codecs crypt cups curl curlwrappers dba dbx debug divx4linux dv dvd dvdread emacs encode escreen exif faac faad fam fbcon flac font- server foomaticdb fortran freetype gd gdbm gif gimpprint gnutls gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml icq idea imagemagick imap imlib ipv6 jabber java javascript jikes jpeg junit kde ldap libwww lm_sensors lzo mad maildir mailwrapper matroska md5sum mikmod mime motif mozilla moznocompose moznoirc moznomail moznoxft mp3 mpeg mpeg4 mplayer msn ncurses network nls nntp nvidia odbc oggvorbis ooo-kde opengl operanom2 oscar oss pam pcmciapcre pda pdf pdflib perl png pnp povray prelude python qt quicktime radeon readline real ruby samba scanner sdl silc slang smime speedo spell ssl svg svga tcltk tcpd tetex tidy tiff transcode truetype truetype-fonts type1 type1-fonts unicode usb v4l v4l2 vim-with-x wifi xine xml xml2 xmlrpc xmms xscreensaver xv xvid xvmc zlib"
Changed my jdk to blackdown-jdk-1.4.2.01-r1 from sun-jdk-1.4.2.06 and recompiled eclipse-sdk + eclipse-cdt. Problem solved. :/