a912286e38
Daniel Jacobowitz <dan@codesourcery.com> * Makefile.in (ALL_SUBDIRS): Add gdb.pascal. * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile. * configure: Regenerated. * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas, gdb.pascal/types.exp, lib/pascal.exp: New files.
15 lines
217 B
ObjectPascal
15 lines
217 B
ObjectPascal
program hello;
|
|
|
|
var
|
|
st : string;
|
|
|
|
procedure print_hello;
|
|
begin
|
|
Writeln('Before assignment'); { set breakpoint 1 here }
|
|
st:='Hello, world!';
|
|
writeln(st); {set breakpoint 2 here }
|
|
end;
|
|
|
|
begin
|
|
print_hello;
|
|
end.
|