From: ian () stams ! strath ! ac ! uk (Ian Thurlbeck)
To: tru64-unix-managers
Subject: SUMMARY: DEC Pascal Debug Problem
Date: Mon, 19 Jun 1995 08:14:43 +0000 [thread overview]
Message-ID: <96075320706559.tru64-unix-managers.marc@archive.invalid> (raw)
I asked about a problem with the Pascal 5.2 compiler
not producing correct debug info:
% cat test.p
program test(input,output);
const Max = 28;
type ItArrayD=array[1..Max] of double;
ItArrayI=array[1..Max] of integer;
var age : ItArrayI;
meanD, varV : ItArrayD;
i : integer;
begin
for i := 1 to Max do
begin
age[i] := i;
writeln(age[i]);
end;
writeln('end');
end.
% pc -g -C all test.p -o test
% dbx test
dbx version 3.11.6
Type 'help' for help.
(dbx) stop in main
[2] stop in TEST
(dbx) run
[2] stopped at [TEST:13 ,0x1200018d0] for i := 1 to Max do
(dbx) whatis age
var AGE : array[28..32] of 86015..1; <*** you must be joking !!
(dbx) whatis varV
var VARV : array[1..28] of double;
I received the following from the DEC Pascal people:
> Hello,
>
> Somebody forwarded your question about DEC Pascal debugging info to me.
>
> Yes, its a known bug and we've fixed it for the next release (DPO540)
>
> With the latest compiler on a V3.0 system, I now get:
>
> (dbx) whatis age
> var AGE : array[1..28] of integer;
> (dbx) whatis varV
> var VARV : array[1..28] of double;
>
> If you have any other debug questions, concerns, suggestions, etc.
> for Pascal please send them directly to me. We're in the process of
> trying to schedule future debug work for Pascal.
>
> John Reagan
> DEC Pascal Project Leader
> reagan@tle.enet.dec.com
>
>
>
Thanks for you help
Ian
reply other threads:[~1995-06-19 8:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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