Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

%DEBUG-W-NEEDMORE ADA V3.5-23 ALPHA

 
Craig Hargreaves
Occasional Advisor

%DEBUG-W-NEEDMORE ADA V3.5-23 ALPHA

Debugger works fine for C but not ADA
$ADA myprog.ada
$ACS LINK myprog /DEBUG/NOOPT
$RUN /DEBUG myprog

yeilds

%DEBUG-I-INITIAL, Language ADA, Module: ADA$MYPROG
%DEBUG-I-NOTATMAIN, Type GO to reach MAIN program
%DEBUG-W-NEEDMORE, unexpected end of command line

Open VMS 7.3-2
ADA 3.5-23
ADA ECO 3.5-24
4 REPLIES
Hoff
Honored Contributor

Re: %DEBUG-W-NEEDMORE ADA V3.5-23 ALPHA

Clean out DBG$INIT or such?
DECxchange
Regular Advisor

Re: %DEBUG-W-NEEDMORE ADA V3.5-23 ALPHA

Don't you need to add /debug/nooptimization qualifiers to the ADA command? Like this:

$ ada/deb/noopt myprog.ada
$ link/deb ada

Also, I don't think you should put /noopt on the link command line. The /noopt means that you don't want the compiler (in this case ADA) to optimize the object module. The reason you need this is so the debugger can read the source lines from the myprog.ada.

So try the two lines I suggested above, and le us know if it still does not work. Thanks.
Craig Hargreaves
Occasional Advisor

Re: %DEBUG-W-NEEDMORE ADA V3.5-23 ALPHA

Fixed by VMS732_PTHREAD V1.0 (and prerequisite ECOs) which replace [SYSLIB]PTHREAD$DBGSHR.EXE
Craig Hargreaves
Occasional Advisor

Re: %DEBUG-W-NEEDMORE ADA V3.5-23 ALPHA

Cleared DBG$INT with no effect.

ADA /DEBUG (Sorry I missed this off my post)

Thank you for the replies.

Problem solved by:
VMS732_PTHREAD V1.0