bash - Run gdb command from shell script -
i wondering if possible pass command gdb shell script. demonstrate in code, easier understand.
#!/bin/sh gdb --silent application.app b -[class method]
this causes execution of script stop @ line 2, , continue when quit gdb.
how pass command, if possible? :)
gdb
has option run commands file option --command=file
. can write gdb commands inside file
.
Comments
Post a Comment