Re: Function pointers in C ( standard tool)
Re: Function pointers in C ( standard tool)
- Subject: Re: Function pointers in C ( standard tool)
- From: Alexander von Below <email@hidden>
- Date: Fri, 4 May 2007 22:06:47 +0200
Interesting question.
While, in theory, gdb should be able to find out where the pointer is
pointing to -- and thus, given debug symbols -- should be able to
figure out the name, I am not aware of a way to find that out.
However, there are certainly people who know more about gdb, and
possibly they know a way. I would be interested to learn abou that, too.
Also, you should simply try :D
Alex
Am 04.05.2007 um 21:58 schrieb Michael:
Hi all,
May I ask a question about the "standard tool" and C.
Learning about pointers to functions.
Once a pointer is initialized to point to a function, and that
pointer is used as an argument to a sub-routine, can one see the
name of the function in that subroutine, or for that matter,
anything else about that function in the debugger? ( for example, a
value of an array in that function?)
thanks in advance.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden