🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Chris Walter Fri, 08 Jan 1993 02:10
Problem using gdb4.7 on g++ programs on RS6000.
#672
Author: Chris Walter
Date: Fri, 08 Jan 1993 02:10
50 lines
2570 bytes
Hi Folks,

First off I am running AIX3.2 on an RS6000.
I am using gcc 2.3.2/libg++ 2.3

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 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)
------------------------------------------------------------------------

And here is the same thing for what is a simpler program:

------------------------------------------------------------------------
cithe502:flux > 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 flux
Reading symbols from flux...GDB Error: `.bf' not found.
GDB Error: `.bf' not found.

Catastrophe in realloc: invalid storage ptr
IOT trap (core dumped)
cithe502:flux > 
------------------------------------------------------------------------

In addition, the first program, which it allows me to load, starts in the
middle of the routine if I tell it to "break main".  It sets the
breakpoint something like halfway down routine.

Any suggestions happily accepted!

-Chris Walter
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