Re: Stack Pointer..?



mario.demiguel@xxxxxxxxx wrote:

>7trackers@xxxxxxxxx wrote:
>
>
>>Hi people...
>>
>>Here's my question...
>>
>>a function other than main is getting executed
>>you have to find out which function called this function
>>
>>how can we do in C...?
>>
>>
>
>I believe using __FUNCTION__ will show the current function's name, I'm
>not sure about showing the calling function's name. My best advice,
>try searching the groups for __FUNCTION__ to see if this question, or a
>similar one, has already been answered.
>
>
>
Are you using gcc? If so you can get access to the frames, which will
help you figure out how you got to where you are.

.



Relevant Pages

  • Re: Altering one phrase in an include (Dynamic HTML?)
    ... I keep getting the message "Don't Use Frames". ... I am happy to follow that advice. ... Embedding a web page on other web pages in a web site ... Microsoft FrontPage has four predefined variables that gather information automatically when you put them on a page: ...
    (microsoft.public.frontpage.client)
  • Advice for a linux distribution
    ... I was looking for advice on a nice Linux distribution; ... I dual boot (i.e. Win98 for games, ... RedHat7.3 uses gcc version 2.96, and reconfiguring the system for a new ...
    (alt.linux)
  • Re: VIDEO EDITING
    ... > I am new to video editing on the computer and was wondering if anyone ... Absolutely, advice is free. ... If you are looking at advanced features consider Vegas 5 (whatever the ... can essentially retouch each frame and you need to do enough frames to ...
    (rec.video.desktop)
  • Testing for Date Value then Displaying the Date or Text
    ... but I am hopeless and a novice - any advice? ... Deborah ... Prev by Date: ...
    (microsoft.public.access.formscoding)
  • Re: Fixing -pthreads (Re: ports and -current)
    ... > it better to make it a NOOP. ... We're just going by his advice. ... of the FSF gcc development team that -pthread should exist for all gcc ... If adding the -pthread switch is a NOOP to gcc but users could later ...
    (freebsd-current)