From: diewald@virrus.zko.dec.com (Jeff Diewald)
Subject: Re: [Q]: DECladebug - can't find sufficient debug info
Date: 1995/04/03 [thread overview]
Message-ID: <3loudj$aag$2@usenet.pa.dec.com> (raw)
In-Reply-To: 3ljq08$g5q@ibch10.inf.tu-dresden.de
In article <3ljq08$g5q@ibch10.inf.tu-dresden.de>, winkler@ibc.inf.tu-dresden.de (Matthias Winkler) writes:
|>When debugging programs DECladebug will not step into
|>functions but rather stepping over instead. To step into
|>foo() I have to issue a 'stop in foo' before giving the
|>step command.
|>
|>So, there is some debugging information available (I can
|>step over the lines of main()), but not enough to step
|>into any function without an breakpoint.
Matthias,
This is what happens when DECladebug is not getting all
the information it needs. I am working on improving DECladebug's
handling of these kinds of cases.
|>
|>I tried the gcc options -g3 and -gcoff3 to no avail,
|>i.e. DECladebug will startup correctly but won't step
|>into. -gstabs3 will prevent DECladebug even from
|>loading my application.
DECladebug has to depend on the compiler to describe the program
in a "reasonable" manner. DECladebug reads COFF symbol information.
Anything other than that (e.g. Stabs) won't work. Since different
compilers can describe the same program quite differently in COFF,
it's also not surprising that there might be problems with the
symbolic information generated by some compilers. (COFF may be a
"standard," but it's a very loose one.)
As suggested in another reply, just what is the C statement causing
the problem? Can you rework it? If it really is a problem with the
compiler, the compiler folks will want to know.
-----------------------------------------------------------------------------
Jeff Diewald EASYNET: VIRRUS::DIEWALD
DECladebug group INTERNET: diewald@virrus.zko.dec.com
Digital Equipment Corp.
Note: I don't read every article in this group. If you have debugger
questions, I may be able to get you an answer. You're much more likely to
get an answer if you put "Debug" somewhere in your subject line.
next prev parent reply other threads:[~1995-04-03 4:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-04-01 5:00 [Q]: DECladebug - can't find sufficient debug info Matthias Winkler
1995-04-03 4:00 ` Tom Carlson
1995-04-03 4:00 ` Jeff Diewald [this message]
1995-04-03 4:00 ` Peter Mayne
1995-04-05 4:00 ` Tom Carlson
1995-04-06 4:00 ` Jeff Diewald
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