tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* gdb: incomplete backtrace, strange step(?) in C++ (egcs 1.1.2)
@ 2000-07-25 11:22 Achim Bohnet
  0 siblings, 0 replies; only message in thread
From: Achim Bohnet @ 2000-07-25 11:22 UTC (permalink / raw)
  To: tru64-unix-managers

Hello,

we use(d) gdb 4.17,4,18 and 5.0 together with egcs 1.1.2 on
V4.0E + duv40eas0004 jumbo patch.  Debugging C++ code for, e.g, SEGV
or FPE shows incomplete backtraces.  Most of the
time 'bt' lists a Constructor and the methods called from there.
But all frames that called the constructor are lost.

A brute force interative  N*next+crash  then (N-1)next+step  etc
does not work because because 'step' instead of 'next' also crashes with
and empty backtrace and gdb tells me that the 'current line' is
the opening brace of a metthod. 

Therefore it's almost impossible to debug :(

Egcs and gdb are build straight forward: configure, make .. etc. Only
egcs uses -fsquangle as default (in gcc/cp/decl2.c from GCC FAQ).

Has anybody a reliably combination of  gdb/g++ on Digital Unix?

Will summarize.

Thx,
Achim

-- 
    To me vi is Zen.  To use vi is to practice zen. Every command is
    a koan. Profound to the user, unintelligible to the uninitiated.
    You discover truth everytime you use it.
					-- reddy@lion.austin.ibm.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-07-25 11:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-25 11:22 gdb: incomplete backtrace, strange step(?) in C++ (egcs 1.1.2) Achim Bohnet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox