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

Popular posts from this blog

php - get table cell data from and place a copy in another table -

javascript - Mootools wait with Fx.Morph start -

php - Navigate throught databse rows -