Re: [fpc-pascal] SQLdb: problem using GDB, but do not have memleak

2012-03-21 Thread Martin
I cced to lazarus. We should move the discussion On 21/03/2012 14:54, Marcos Douglas wrote: Oh my... =) There are many differences, many options to choice. Using a simple vision, I think the IDE should be use the last GDB that works fine in the major cases. What GDB version represents that? Th

Re: [fpc-pascal] SQLdb: problem using GDB, but do not have memleak

2012-03-21 Thread Marcos Douglas
On Wed, Mar 21, 2012 at 11:28 AM, Martin wrote: > On 21/03/2012 13:48, Marcos Douglas wrote: >> >> Which GDB SVN do you think is the best choice? > > > Not really sure. I have versions from 6.3 to 7.4. (for win 32). > There is a testcase in the debugger/test/GDBMI directory > > Most of the differe

Re: [fpc-pascal] SQLdb: problem using GDB, but do not have memleak

2012-03-21 Thread Martin
On 21/03/2012 13:48, Marcos Douglas wrote: Which GDB SVN do you think is the best choice? Not really sure. I have versions from 6.3 to 7.4. (for win 32). There is a testcase in the debugger/test/GDBMI directory Most of the differences are handled by the IDE (like different text of error messa

Re: [fpc-pascal] SQLdb: problem using GDB, but do not have memleak

2012-03-21 Thread Marcos Douglas
On Wed, Mar 21, 2012 at 10:32 AM, Martin wrote: > On 21/03/2012 12:49, Marcos Douglas wrote: >> >> On Tue, Mar 20, 2012 at 6:27 PM, Martin  wrote: >>> >>> On 20/03/2012 12:08, Marcos Douglas wrote: Hi, I was testing the new connector to MSSQL when I found a problem. If I c

Re: [fpc-pascal] SQLdb: problem using GDB, but do not have memleak

2012-03-21 Thread Martin
On 21/03/2012 12:49, Marcos Douglas wrote: On Tue, Mar 20, 2012 at 6:27 PM, Martin wrote: On 20/03/2012 12:08, Marcos Douglas wrote: Hi, I was testing the new connector to MSSQL when I found a problem. If I compile and run in console, I have no memleak. Good. But if I put a breakpoint in ACon

Re: [fpc-pascal] SQLdb: problem using GDB, but do not have memleak

2012-03-21 Thread Marcos Douglas
On Tue, Mar 20, 2012 at 6:27 PM, Martin wrote: > On 20/03/2012 12:08, Marcos Douglas wrote: >> >> Hi, >> >> I was testing the new connector to MSSQL when I found a problem. >> If I compile and run in console, I have no memleak. Good. But if I put >> a breakpoint in AConnection.Free; and press F8,

Re: [fpc-pascal] SQLdb: problem using GDB, but do not have memleak

2012-03-21 Thread Sven Barth
Am 20.03.2012 18:03, schrieb Marcos Douglas: On Tue, Mar 20, 2012 at 12:35 PM, Jonas Maebe wrote: On 20 Mar 2012, at 14:06, Marcos Douglas wrote: I compile FPC using these options: UPXPROG=echo COPYTREE=echo OPT="-gl" You should use OPT="-O- -gl" if you want to debug standard FPC units. The