LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-27-2002, 05:42 PM   #1
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
gdb vs. class libraries?


Hi guys!

It must be just me, not setting gdb (via ddd) up properly ....
but for some reason I can't get any sensible data out
of STLPort or Qt constructs.

If I compile
Code:
#include <iostream>
#include <string>

int main( void)
{
  std::string sTest = "Just testing ....";
  std::cout << sTest << std::endl;
  exit(0);
}
with:
g++ string.cc -o test -g
I get a neat display of my sTest in ddd and can look
at the actual chars in the structure of it ...

using:
g++ -g -I/usr/local/include/stlport/ -L/usr/local/lib/ -lstlport_gcc_stldebug -lpthread string.cc -o test
I get "Disabling display X to avoid infinite recursion." which,
if I got that right, means that the object I want to display doesn't
exist any longer ...

Help?

Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
normal gdb and spec gdb for kgdb Igor007 Programming 1 09-23-2005 04:15 PM
normal gdb and spec gdb for kgdb Igor007 Linux - Newbie 1 09-23-2005 01:41 PM
Implementing a vector class from a list class purefan Programming 9 04-14-2005 10:48 PM
gdb .. looking for 32 bit gdb.. for ia64 suse.. nkshirsagar SUSE / openSUSE 0 12-09-2004 03:02 AM
BlackBox.class & VerifierBug.class virus ??? dalek Linux - Security 4 02-29-2004 08:55 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration