Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Memory Mapping of C Applications

Status
Not open for further replies.

javaguru007

Programmer
Nov 25, 2003
17
PH
hello to all, i just want to know how to determine the memory mapping or location of certain C Application variables, tables, arrays or linked list in the Memory of a Linux System ?
Because we what to determine if at certain location in memory, a certain dynamic variable or linked list is accidentally overwriting memories allocated for another variable thus destroying its value.

Thanks in advance.
 
Have you tried using the GNU debugger gdb? I'm no expert, but there's plenty of documentation for it!

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top