gdb and pstack

"Raghavendra Rao Loka" <[email protected]> Tue, 30 Jun 2009 11:12:26 -0700
Newsgroups gmane.comp.gdb.general
Message-ID <000501c9f9ae$54992c40$1e15080a@raogx150>
I am trying to build pstack for x86-64 elf64 executables. I could get reliable
stack information with debuggable executables, but since the frame pointer
isn't saved, I get trash for optimized executables. gdb, on the other hand,
does give reliable stack information. I was wondering if someone could point
me in the right direction as to what I need to do get the reliable stack information
(from what's available in the executable).

  - Thanks,
   - Rao.