473,326 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

how to generate the call stack(stack frame) in AIX, using C language

Hi all.
I needed to generate a call stack in my C file. i searched a lot in google, but i didnt get the solution. i found the generation os call stack in other operating system like Solaries, Linux, and WIndows. But not in AIX. Any one please help me. thanks a ton in advance.
Nov 17 '15 #1
4 1501
weaknessforcats
9,208 Expert Mod 8TB
I'm sorry, but I have never heard of needing to do this. I mean the compiler does it but does this mean you are writing a compiler?

Stack frames are not part of the C language spec but, instead, are part of a C implementation. That is, a C compiler design.

Likewise with the heap.

I'm very curious.
Nov 17 '15 #2
Hi weaknessforcats,
I am not trying to write the compiler here.currently my c code wirtes some message to file(log messages to the log file). Addition to the log messags, need to print call stack also in the log file. so i need to implement "generation of callstack" in my c code. if you still not clear with my requirement, plase ask me. I will explain even better.
Nov 17 '15 #3
weaknessforcats
9,208 Expert Mod 8TB
I would start here: https://msdn.microsoft.com/en-us/lib...or=-2147217396

What do you think?
Nov 17 '15 #4
Hi weaknessforcats,
I asked you, how to generate callstack in AIX, not in windows.I know how to generate in Windows as well as Linux. But i dont know only in AIX. please help me.
Nov 18 '15 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: rbowie | last post by:
Hi there im tryin to nav to a frame using javascript. I have a frameset within a frameset. I want to be able to navigate from the inner most frameset to an outer frame. So frame i have only...
4
by: Alan Wang | last post by:
Hi there: I am just wondering if I could call java library using C#. The reason to do that is my application wants to automate OpenOffice and create document. Thanks in advance Alan
2
by: Bernard | last post by:
Hello, I search a free tool in order to create call graphs for source code in C. I heard that kscope can generate call graphs, but I suppose it can run only on Linux ? Is there such a tool for...
2
by: Griff | last post by:
Bizarre problem here.... I have a classic ASP web page that exists in one project. I have copied this code file into another web project and it errors! The code has not been altered in any...
9
by: Allen | last post by:
The arguments of function is variable. Given function address, argument type and data, how to dynamically call the function? The following is pseudo code. int count = 0; int offset = 0; char...
2
by: sindhu | last post by:
Hello, I'm loading a frame from another frame using anchor tag. the code is as folllows. function change_page { if(document.form.txtbx1.value=="all") { ...
2
by: durgaprasad2004 | last post by:
hi friends, i have to close one frame using another frame. first it create one frame. after modification when i click submit is must be close the old frame,but it is not closing plz help me...
0
by: vanijampani | last post by:
Hi, I tried to generate text to audio using JMF. This is my sample code: import java.io.*; import java.util.*; import java.awt.Dimension;
5
by: Nelnel Einstien | last post by:
How can i generate random characters in c language? i hope for your responses. Thanks. :)
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.