Get backtrace from core dump using gdb via shell script(non interactive)
1
vote
2
answers
4605
views
I have core dump file and gdb.
I can do
gdb
(gdb)bt
This will give me backtrace but I want to do this using a shell script and in non-interactive mode. Writing
gdb exe core
takes me to gdb CLI and needs manual intervention.
Any idea how can I automate it?
Asked by Mohammed
(157 rep)
Mar 20, 2019, 02:28 PM
Last activity: May 31, 2025, 04:17 PM
Last activity: May 31, 2025, 04:17 PM