Hi John! j.logsdon@lancaster.ac.uk wrote:
- The GNU debugger (GDB) does not yet understand Pascal syntax and types; you have to use C syntax when debugging Pascal programs with GDB.
When the DDD runs type at the command line windows ( the little window with the `(gdb)'-prompt ) the following command: set language modula-2 In the status-bar of the DDD appears: Current language: pascal/modula That's all, so you can use the full power of the gdb with pascal source-code and the graphical front-end :-)! (gdb works fine with emacs too)
Code fragement: Var i:Integer; MyReal:Real;
To display the variables above use the menus or type at the command line. At the command type the following: display I display Myreal
You see, the first/only character MUST be upper case and the rest in lower case.
Thorsten