* Query parameters / dwarf info for a function
@ 2022-02-11 13:19 Edgar Mobile
2022-02-11 13:51 ` Joel Brobecker
0 siblings, 1 reply; 2+ messages in thread
From: Edgar Mobile @ 2022-02-11 13:19 UTC (permalink / raw)
To: gdb
Greetings,
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 ) ?
Regards
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Query parameters / dwarf info for a function
2022-02-11 13:19 Query parameters / dwarf info for a function Edgar Mobile
@ 2022-02-11 13:51 ` Joel Brobecker
0 siblings, 0 replies; 2+ messages in thread
From: Joel Brobecker @ 2022-02-11 13:51 UTC (permalink / raw)
To: Edgar Mobile via Gdb; +Cc: Joel Brobecker
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-11 13:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-11 13:19 Query parameters / dwarf info for a function Edgar Mobile
2022-02-11 13:51 ` Joel Brobecker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).