Re: [fpc-pascal]Debugging FPC

2003-08-23 Thread James Mills
On Sat, Aug 23, 2003 at 05:39:49PM +0200, Peter Vreman wrote: > You can leave the debian fpc packages installed and install an own > compiled fpc version in /usr/local or in your home dir. (hides from the maintainter), perhaps I should maintain the debian package :) James (hides!) -- - -Zero Def

Re: [fpc-pascal]Debugging FPC

2003-08-23 Thread Peter Vreman
> On Fri, Aug 22, 2003 at 04:51:27PM +0200, [EMAIL PROTECTED] wrote: >> Of course, I forgot that the RTL we distribute doesn't contain symbol >> information. Go to the rtl/linux sources directory (I don't know offhand >> where the sources are installed under Linux), type "make OPT="-g", and >> then

Re: [fpc-pascal]Debugging FPC

2003-08-23 Thread James Mills
On Fri, Aug 22, 2003 at 04:51:27PM +0200, [EMAIL PROTECTED] wrote: > Of course, I forgot that the RTL we distribute doesn't contain symbol > information. Go to the rtl/linux sources directory (I don't know offhand > where the sources are installed under Linux), type "make OPT="-g", and > then compi

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread jonas
On Sat, 23 Aug 2003, James Mills wrote: > (gdb) b HANDLEERRORFRAME > Function "HANDLEERRORFRAME" not defined. > > It doesn't define whatever HANDLEERRORFRAME is though, so what Jonas > said won't work... Of course, I forgot that the RTL we distribute doesn't contain symbol information. Go to th

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread Peter Vreman
> On Fri, Aug 22, 2003 at 03:14:20PM +0200, Peter Vreman wrote: >> You can use the gdb available in Debian. It has already the pascal >> support >> included. > (gdb) b HANDLEERRORFRAME > Function "HANDLEERRORFRAME" not defined. > > It doesn't define whatever HANDLEERRORFRAME is though, so what Jona

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread James Mills
On Fri, Aug 22, 2003 at 03:14:20PM +0200, Peter Vreman wrote: > You can use the gdb available in Debian. It has already the pascal support > included. (gdb) b HANDLEERRORFRAME Function "HANDLEERRORFRAME" not defined. It doesn't define whatever HANDLEERRORFRAME is though, so what Jonas said won't w

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread Peter Vreman
>> gdbpas is included with fpc (all versions). gdb = GNU DeBugger. The >> "pas" >> stands for "with pascal extensions". > I do not seem to have this anywhere on my system. Of course I have gdb. > Can I get it somewhere ? (Perhaps the Debian maintainer didn't include > it in 1.0.6) You can use the

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread jonas
On Fri, 22 Aug 2003, James Mills wrote: > > gdbpas is included with fpc (all versions). gdb = GNU DeBugger. The "pas" > > stands for "with pascal extensions". > I do not seem to have this anywhere on my system. Of course I have gdb. > Can I get it somewhere ? (Perhaps the Debian maintainer didn'

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread James Mills
On Fri, Aug 22, 2003 at 10:35:15AM +0200, [EMAIL PROTECTED] wrote: > > > gdbpas is included with fpc (all versions). gdb = GNU DeBugger. The "pas" > stands for "with pascal extensions". I do not seem to have this anywhere on my system. Of course I have gdb. Can I get it somewhere ? (Perhaps the D

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread jonas
On Fri, 22 Aug 2003, James Mills wrote: > what is gdbpas ? I'm using FPC 1.0.6 ... gdbpas is included with fpc (all versions). gdb = GNU DeBugger. The "pas" stands for "with pascal extensions". Jonas PS: please only quote the part of the original mail that's necessary to understand the conte

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread James Mills
On Fri, Aug 22, 2003 at 09:30:49AM +0200, [EMAIL PROTECTED] wrote: > > > On Fri, 22 Aug 2003, James Mills wrote: > > > > An unhandled exception occurred at 0x080A33B1 : > > > List index exceeds bounds (-1) > > > 0x080A33B1 > > > > Also anyone out there, I'd really like to know if the above is

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread jonas
On Fri, 22 Aug 2003, James Mills wrote: > > An unhandled exception occurred at 0x080A33B1 : > > List index exceeds bounds (-1) > > 0x080A33B1 > > Also anyone out there, I'd really like to know if the above is possible > ... I have to find the source of this particular defect in 19,000 LOC. > A

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread James Mills
On Fri, Aug 22, 2003 at 11:08:14AM +1000, James Mills wrote: > I think perhaps I need to repost my question as I saw the mailing list > server go down yesterday... > > Hi, > > 1) Is there anyway of finding out the cooresponding source line when a > program crashes and only outputs the following:

[fpc-pascal]Debugging FPC

2003-08-21 Thread James Mills
I think perhaps I need to repost my question as I saw the mailing list server go down yesterday... Hi, 1) Is there anyway of finding out the cooresponding source line when a program crashes and only outputs the following: An unhandled exception occurred at 0x080A33B1 : List index exceeds bounds