[reSIProcate] gdb - with respip question

John Draper lists at webcrunchers.com
Tue Aug 23 18:33:42 CDT 2005


Alan Hawrylyshen wrote:

>
> On Aug 23, 2005, at 11.41, Doug Alexander wrote:
>
>> I am a newbie to resip and just learning so if this question is  
>> stupid I’m sorry up front.
>>
>>
>>
>> I have built a simple sip server using resip on OS/X 10.3 panther.  
>> However when I bring program up in gdb I can never find the source  
>> for the code. It will run but if I need to set a break point I  
>> can’t. It must have something to do with namespace or directory  
>> path. I used the gdb path command to set the path to my source but  
>> that did not resolve the problem.
>>
>>
>>
>> Somebody please throw me a bone?
>>
>>
>
> Hi Doug;
>
> How are you building resiprocate, and which resiprocate version are  
> you building? I'll try to reproduce the problem here on my OS/X boxes  
> and let you know how I get around the issue.
>
> I seem to remember that this 'just worked' other than a bit of  'dir 
> ...' trickery in gdb.

Lets not forget the variable symbol crash with the Mac's Obj C run time 
variable "id".
The file "Handle.hxx" needs to change "id" with something else...  I 
chose "xid" and it compiled
fine.

Now you can add it as an x-code target, and you should have source level 
debugging
possible now.

John

>
> Let me know,
>
> Alan
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at list.sipfoundry.org
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>
>




More information about the resiprocate-devel mailing list