Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Israel Fdez Cabrera <israel@seg.inf.cu>
Cc: gdb@sources.redhat.com
Subject: Re: debuggin problems
Date: Tue, 22 Oct 2002 07:28:00 -0000	[thread overview]
Message-ID: <20021022142856.GA17086@nevyn.them.org> (raw)
In-Reply-To: <200210220920.15492.israel@seg.inf.cu>

On Tue, Oct 22, 2002 at 09:20:15AM -0400, Israel Fdez Cabrera wrote:
> Hi, I'm new in the list and I subscribed because I have problems debugging 
> with gdb.
> I recently upgrade my system from RedHat 7.3 to RedHat 8.0, I use KDevelop to 
> work. The new release of RedHat Linux comes with gcc 3.2 and gdb 5.2.1-4.
> I notice that when I debugg a C++ code like this:
> 
> #include <iostream>
> #include <fstream>
> 
> using namespace std;
> 
> int main (...){
> 	...
> 	ifstream f ("/root/install.log");
> 	char s [255] = {0};
> 	while ( ! f.eof () ){
> 		f.getline (s, 255);
> 		cout << s << endl;
> 	}
> 	...
> 	return 0;
> }
> 
> My system turns very slow, I can't even move the mouse, and once I got a 
> message that the system has low memory.

Well, C++ takes more memory, but it shouldn't be that much more - how
much memory do you have, anyway?  What are you doing in the debugger?

C++ debugging for GCC 3.2 isn't working perfectly, but most things
should work.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


      reply	other threads:[~2002-10-22 14:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-22  6:22 Israel Fdez Cabrera
2002-10-22  7:28 ` Daniel Jacobowitz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021022142856.GA17086@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    --cc=israel@seg.inf.cu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox