🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Tom McConnell~ Sun, 10 Jan 1993 15:32
Re: Problems debugging g++ code on RS6000 with gdb4.7
#591
Author: Tom McConnell~
Date: Sun, 10 Jan 1993 15:32
54 lines
2602 bytes
In article <9301102237.AA20734@cithe303.cithep.caltech.edu>, you write:
> Hello,
> 
> I've tried this question in comp.unix.aix and gnu.g++.help and have gotten
> no responses, I really hope someone here can help me.
> 
> First off I am running AIX3.2 on an RS6000.
> I am using gcc 2.3.2/libg++ 2.3
> I am using gdb 4.7

  I would _strongly_ recommend moving to gcc-2.3.3. It has a number of bug fixes
over gcc-2.3.2. Also, make sure that libg++-2.3 is rebuilt using gcc-2.3.3. Just
to be complete, I would also rebuild gdb-4.7 with gcc-2.3.3. It is most
difficult to find the problem sometimes when using tools built with different
versions of the compiler.

> 
> I am having problems debugging c++ programs with gdb4.7.
> gdb seems to work OK on small C programs compiled with gcc but I am
> having problems debugging C++ code compiled(-g of course) with g++.
> 
> I should mention that my sys-op says the RS6000 assembly patch(for gcc)  has
> been applied.  Here is an example of what happens when I try to load a
> executable:
> ------------------------------------------------------------------------
> cithe502:wfd > gdb 
> GDB is free software and you are welcome to
> distribute copies of it
>  under certain conditions; type "show copying" to see the conditions.
> There is absolutely no warranty for GDB; type "show warranty" for details.
> GDB 4.7, Copyright 1992 Free Software Foundation, Inc.
> (gdb) file monte
> Reading symbols from monte...GDB Error: `.bf' not found.
> GDB Error: `.bf' not found.
> done.
> (gdb)

  I have seen the "`.bf'" errors on and off with different versions of
gcc/libg++/gdb. With my current setup (gcc-2.3.3, libg++-2.3, gdb-4.7) there are
no errors, and I can debug g++ code just fine.

> 
> -Chris Walter

  Good luck.

    Cheers,

    Tom McConnell

 Tom McConnell          |     Internet: tmcconne@sedona.intel.com
 Intel, Corp. C3-91     |     Phone: (602)-554-8229
 5000 W. Chandler Blvd. | The opinions expressed are my own. No one in 
 Chandler, AZ  85226    | their right mind would claim them.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads