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, I got this:
ERROR
,msg="Warning:\nCannot insert breakpoint -237.
On Tue, Mar 20, 2012 at 1:44 PM, Martin wrote:
> On 20/03/2012 14:52, Marcos Douglas wrote:
>>>
>>> ERROR
>>> ,msg="Warning:\nCannot insert breakpoint -237.\nError accessing memory
>>> address 0x7816cd30: Input/output error.\n"
>>>
>
>> I use gdb 7.3 (http://svn.freepascal.org/svn/lazarus/binaries
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
> default for building the entire FPC
On Tue, Mar 20, 2012 at 12:24 PM, Martin wrote:
> On 20/03/2012 14:52, Marcos Douglas wrote:
>>
>> On Tue, Mar 20, 2012 at 11:36 AM, Martin wrote:
>>>
>>> On 20/03/2012 14:08, Marcos Douglas wrote:
On Tue, Mar 20, 2012 at 9:34 AM, Martin wrote:
>
> On 20/03/2012 12:08, Marcos
On 20/03/2012 14:52, Marcos Douglas wrote:
ERROR
,msg="Warning:\nCannot insert breakpoint -237.\nError accessing memory
address 0x7816cd30: Input/output error.\n"
I use gdb 7.3 (http://svn.freepascal.org/svn/lazarus/binaries/) only in 32 bit.
I only use 32 bit.
Interesting. 0x7816cd30
I
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 default for building the entire FPC source tree is -O2.
Optimizations generally have little ef
On 20/03/2012 14:52, Marcos Douglas wrote:
On Tue, Mar 20, 2012 at 11:36 AM, Martin wrote:
On 20/03/2012 14:08, Marcos Douglas wrote:
On Tue, Mar 20, 2012 at 9:34 AM, Martinwrote:
On 20/03/2012 12:08, Marcos Douglas wrote:
Hi,
I was testing the new connector to MSSQL when I found a prob
On Tue, Mar 20, 2012 at 11:36 AM, Martin wrote:
> On 20/03/2012 14:08, Marcos Douglas wrote:
>>
>> On Tue, Mar 20, 2012 at 9:34 AM, 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
On 20/03/2012 14:08, Marcos Douglas wrote:
On Tue, Mar 20, 2012 at 9:34 AM, 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
On Tue, Mar 20, 2012 at 9:34 AM, 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,
Tem umas opções com o novo GDB >6.5 que parece ser a melhor opção.
Vou recompilar o FPC e Lazarus utilizando:
-gl -gw -godwarfsets
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc
On Tue, Mar 20, 2012 at 9:34 AM, 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
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, I got this:
ERROR
,msg="Warning:\nCannot insert breakpoint -237.
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, I got this:
ERROR
,msg="Warning:\nCannot insert breakpoint -237.\nError accessing memory
address 0x7816cd30:
> Hoping is not enough when changing random values.
> See http://bugs.freepascal.org/view.php?id=9401
> for more info.
Wow. Many thanks!
I read that MSG_NOSIGNAL is now supported by MacOS, too, but I don't
really know.
So now I am calling fpsetsockopt with SO_NOSIGPIPE as the first thing
after
On 20 Mar 2012, at 08:41, Tobias Giesen wrote:
I think the biggest issue is that MSG_NOSIGNAL is not defined on MAC
OS,
even though it was added a few years (?) ago. When I ported Synapse,
unfortunately I defined it as 0. Now I changed that to $2 and I'm
hoping for the best ...
Hoping i
On Tue, 20 Mar 2012, Tobias Giesen wrote:
Hi,
I think the biggest issue is that MSG_NOSIGNAL is not defined on MAC OS,
even though it was added a few years (?) ago. When I ported Synapse,
unfortunately I defined it as 0. Now I changed that to $2 and I'm
hoping for the best ...
I also add
Hi,
I think the biggest issue is that MSG_NOSIGNAL is not defined on MAC OS,
even though it was added a few years (?) ago. When I ported Synapse,
unfortunately I defined it as 0. Now I changed that to $2 and I'm
hoping for the best ...
I also added this to my program, is that correct?
var Ne
18 matches
Mail list logo