I have a set of basic breakpoints defined in a user-defined fn setup in my .gdbinit. So, every time i start gdb, I have to execute that fn. to set all my brkpoints , before I start debugging. Can I configure my .gdbinit so that whenever it starts , it first executes my user-defined fn setup ?
I have a set of basic breakpoints defined in a user-defined fn setup in
Share
Just call it by function name:
My .gdbinit:
And when I run it: