Re: [fpc-pascal] Runs correctly when debugging.

2012-05-04 Thread Henry Vermaak
On 4 May 2012 23:03, Henry Vermaak wrote: > On 4 May 2012 22:14, Guillermo Martínez Jiménez wrote: >> Hello everybody, >> >> I'm working on a wrapper of a C library.  I've found a bug, but I >> can't debug it with GDB because if I compile with "-g" and link with >> the debug version of the librar

Re: [fpc-pascal] Runs correctly when debugging.

2012-05-04 Thread Henry Vermaak
On 4 May 2012 22:14, Guillermo Martínez Jiménez wrote: > Hello everybody, > > I'm working on a wrapper of a C library.  I've found a bug, but I > can't debug it with GDB because if I compile with "-g" and link with > the debug version of the library it works correctly. > > But if I compile with "-