* Need help ladebug/C++/OSF1
@ 1998-05-07 4:00 Greg Kurz
1998-05-08 4:00 ` Jeff Diewald
0 siblings, 1 reply; 2+ messages in thread
From: Greg Kurz @ 1998-05-07 4:00 UTC (permalink / raw)
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 ?
--
-=GrEg=-
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Need help ladebug/C++/OSF1
1998-05-07 4:00 Need help ladebug/C++/OSF1 Greg Kurz
@ 1998-05-08 4:00 ` Jeff Diewald
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Diewald @ 1998-05-08 4:00 UTC (permalink / raw)
To: kurz
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-05-08 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-07 4:00 Need help ladebug/C++/OSF1 Greg Kurz
1998-05-08 4:00 ` Jeff Diewald
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox