Pascal Viandier wrote:
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
Yes, these are known problems of GPC -- and GDB (whatever GPC outputs, GDB shouldn't crash, this one at least is a GDB bug).
1, 2, 6 are related, and I hope I can fix them when I get to it. 3 seems more difficult. Not sure about 4 ATM.
Frank