Re: Debugging tools for inspecting the stack
- From: Erik Wikström <eriwik@xxxxxxxxxxxxxxxxxxx>
- Date: 17 May 2007 02:10:12 -0700
On May 16, 11:23 pm, Randy Yates <y...@xxxxxxxx> wrote:
ErikWikström<eri...@xxxxxxxxxxxxxxxxxxx> writes:
As part of a small project in school I need to inspect the stack of a
running program in more detail than bt in gdb allows. What I'd like is
to get a dump of the memory containing the stack (preferably in some
nice hex output, and preferably while the program is still being
debugged). I don't need to be able to manipulate the memory but I need
to be able to inspect the layout of the stack and the values of
variables etc. on it.
Does anyone know of a tool that allows you to do these kinds of
things, any help would be appreciated.
ddd.
I've tried that (and while I'm no ddd expert) and it didn't seem to do
what I want any more than gdb (which is not so surprising since it's
just a front-end). What I want is something like what I can do in
Visual C++ under Windows, there I can have all the registers in one
window and the memory of the stack in another window (in a standard
hex view ie. each line starts with the address followed by the hex-
values for each byte and then ASCII representation) along with a third
window where I see the disassembly. And as I step through I can see
which registers/bytes in memory change.
It does not have to be so interactive but at the very least I need to
be able to dump the values to file between each instruction.
--
Erik Wikström
.
- References:
- Debugging tools for inspecting the stack
- From: Erik Wikström
- Re: Debugging tools for inspecting the stack
- From: Randy Yates
- Debugging tools for inspecting the stack
- Prev by Date: Watch Television online for free.
- Next by Date: Is this really true FREE GOOGLE ADS ?
- Previous by thread: Re: Debugging tools for inspecting the stack
- Next by thread: Re: Debugging tools for inspecting the stack
- Index(es):
Relevant Pages
|