11 Mar
2003
11 Mar
'03
9:02 p.m.
Hi, I want to debug my pascal program with gdb. I can't examine my variables when I run my program in the debugger. Nevertheless, I compile with gcc -gstabs foo.pas and I got that : Line number 0 is out of range for "<implicit code>". list foo.pas:1 (xxgdb) p d $1 = 42 (xxgdb) break 5 Breakpoint 1 at $120002948: file foo.pas, line 5. (xxgdb) run Breakpoint 1, pascal_main_program () at foo.pas:5 (xxgdb) p d $2 = { i = {0, 1076887552}, d = 16 } How to get value at all the time???? Thanks
8555
Age (days ago)
8555
Last active (days ago)
1 comments
2 participants
participants (2)
-
Frank Heckenbach -
Mehdi Khaldi