Mark
Mark

Reputation: 8688

create new gdbinit file

Basically I am on school computer trying to use gdb. But there are way too many initial configurations, so I would like to put them into gdbinit. But gdbinit is located beyond my permission level so I can't change it. Is there a way to setup my own gdbinit in my home folder?

Upvotes: 0

Views: 3614

Answers (1)

Employed Russian
Employed Russian

Reputation: 213927

Is there a way to setup my own gdbinit in my home folder?

Yes: gdb will read $HOME/.gdbinit if you have one.

Upvotes: 2

Related Questions