Hi,
I use gpc 20050331 build with gcc 3.4.3 on SUN Solaris2.6.
I have gdb 5.3 installed, but it does not work very well with gpc:
- The current source line is wrong most of the time
- 'Next' do strange steps backward and forward
- I cannot see strings contents (it says incomplete type)
- Arrays of characters are displayed as binary (0's and 1's)
- Some randomized gdb coredumps
- Program does not stop where I put the breakpoints, but some lines before
or after
I use DDD on top of gdb, but I have exactly the same problems when I use gdb
alone.
Since I am presently converting a lot of code from SUN Pascal to gpc, the
debugger is somewhat essential...
So, is there a 'recommended' version of gdb to use with gpc 20050331?
Also, are there some 'recommended' gdb settings for gpc?
Thanks
Pascal Viandier
pascal(a)accovia.com