From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,35c21d39e99f9b63 X-Google-Attributes: gidfee84,public From: diewald@virrus.zko.dec.com (Jeff Diewald) Subject: Re: [Q]: DECladebug - can't find sufficient debug info Date: 1995/04/03 Message-ID: <3loudj$aag$2@usenet.pa.dec.com>#1/1 X-Deja-AN: 100804606 distribution: world references: <3ljq08$g5q@ibch10.inf.tu-dresden.de> organization: Digital Equipment Corporation keywords: DECladebug, gcc, debugging information, debugging options reply-to: diewald@virrus.zko.dec.com (Jeff Diewald) newsgroups: comp.unix.osf.osf1 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.