Re: Query parameters / dwarf info for a function

Joel Brobecker via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
Hi Edgar,

> can someone tell me if there is a gdb command to query the dwarf info
> of a function, specifically the memory location of the parameters,
> just through its name during post-mortem debugging ( I cannot stop
> inside the function because the program isn't running ) ?

If you're wondering about the location of the parameters, I think
a better tool would be readelf or objdump, which are both able
to dump the DWARF info in a human-readable way. E.g.

    readelf -wi EXE

-- 
Joel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.