Query parameters / dwarf info for a function
Joel Brobecker
brobecker@adacore.com
Fri Feb 11 13:51:28 GMT 2022
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
More information about the Gdb
mailing list