[Freeswitch-dev] GDB doesn't catching breakpoints in module

Mathieu Rene mrene_lists at avgs.ca
Wed Apr 8 10:18:23 PDT 2009


Oh yeah... you can do "run -vg"  or "run -waste" so it doesnt fork

Math

On 8-Apr-09, at 4:42 AM, Ceino wrote:

> I found the solution after many hours of debugging: I notice the
> following message
> at the starup of fs (I overlook it for a long time): "Error: stacksize
> 240 is too large: run ulimit -s 240 or run
> /opt/freeswitch-1.0.4_svn_12914/bin/bin/freeswitch -waste.
> auto-adjusting stack size for optimal performance...."
>
> So I just increase the stack size (the stack size was big enough for  
> fs
> 1.0.3 with GDB so I didn't got any problem with that version)
> and GDB with breakpoints works fine.
>
>
>
> Lars Sivertsen
>
>
> Michael Jerris wrote:
>> On Apr 7, 2009, at 5:50 AM, Ceino wrote:
>>
>>
>>> Hi all, I try to use breakpoints in mod_dialplan_xml.c but it  
>>> doesn't
>>> get catched (the program work). This
>>> did work in fs 1.0.3. I use fs svn thrunk 12914 and GDB version 6.6.
>>>
>>> Inside gdb I use the following command:
>>>
>>> break mod_dialplan_xml.c:dialplan_hunt
>>>
>>
>> This should work fine still, could you please try to track down what
>> changes you think caused this issue.
>>
>> Mike
>>
>>
>> _______________________________________________
>> Freeswitch-dev mailing list
>> Freeswitch-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- 
>> dev
>> http://www.freeswitch.org
>>
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org




More information about the Freeswitch-dev mailing list