From: Jeff Diewald <diewald@zko.dec.com>
To: kurz@stna.dgac.fr
Subject: Re: Need help ladebug/C++/OSF1
Date: 1998/05/08 [thread overview]
Message-ID: <355368EA.BF8A92EF@zko.dec.com> (raw)
In-Reply-To: 3551852E.177A@stna.dgac.fr
Greg Kurz wrote:
> Hi,
>
> I got a problem using ladebug with a C++ program on OSF1 : ladebug
> refuses sometimes to set breakpoints.
>
> (ladebug) b
> 206
> Warning: More than one file named 'CCC_InfosPln.cc' found in the binary.
> Warning: Breakpoint not set
>
> Any clue somebody ?
Without any more information, I'd guess that you're using a newer C++
compiler and you've got a source file with several template definitions.
If this is NOT the case, then please report the problem to the Ladebug
team, because we'd like to know about it. (To report a problem, it really
helps to know exactly which version of Ladebug, the compiler, and the
operating system you're using. It also helps to have a small code
example.)
If it is the problem, it's a known bug that we're trying to find a fix
for. The difficulty is that the compiler is producing symbol table
information separately for each template - which provides more than one
"file" contribution in the binary. This confuses Ladebug. The solution is
to make Ladebug smarter, make the compilers produce more consumable symbol
table information, or some combination of the two.
For some simple cases, you may be able to work around it by moving the
template definitions into their own separate files. (Ladebug, for example,
is written in C++, has a lot of templates, is compiled with one of the
latest compilers, and does not demonstrate this problem as far as we know.
We use Ladebug to debug itself.)
-----------------------------------------------------------------------
Jeff Diewald Vortex of Chaos
Ladebug group diewald@zko.dec.com
Digital Equipment Corp.
prev parent reply other threads:[~1998-05-08 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-05-07 4:00 Need help ladebug/C++/OSF1 Greg Kurz
1998-05-08 4:00 ` Jeff Diewald [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox