| Linux Forum Index » Linux Development - System » traceback code... |
|
Page 1 of 1 |
|
| Author |
Message |
| deepak... |
Posted: Tue Sep 29, 2009 1:50 am |
|
|
|
Guest
|
Hi Friends,
I would like to know which file is used to get the traceback addresses
of a function for debugging purpose. If possible I would like to write
a code by myself to decode it.
Please give me the pointer to the function and a doc to learn the
instruction set for
Machine: Intel 80386.
Thanks,
Deepak |
|
|
| Back to top |
|
|
|
| Josef Moellers... |
Posted: Wed Sep 30, 2009 2:57 am |
|
|
|
Guest
|
deepak wrote:
Quote: Hi Friends,
I would like to know which file is used to get the traceback addresses
of a function for debugging purpose. If possible I would like to write
a code by myself to decode it.
The core dump.
They are then mapped to symbolic addresses using the symbol table in the
executable.
Depending upon the compiler, you may very well need the executable
anyway, as not all compilers maintain a frame pointer.
I would think that it's a very hairy business.
Quote: Please give me the pointer to the function and a doc to learn the
instruction set for
Machine: Intel 80386.
Maybe the intel website has some manuals on-line.
Also, the '386 was manufactured by other companies as well ...
Josef
--
These are my personal views and not those of Fujitsu Technology Solutions!
Josef Möllers (Pinguinpfleger bei FTS)
If failure had no penalty success would not be a prize (T. Pratchett)
Company Details: http://de.ts.fujitsu.com/imprint.html |
|
|
| Back to top |
|
|
|
|