This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is it possible to save breakpoints to a file?


Dave Korn wrote:

  If you are using the insight GUI for gdb, that will save your breakpoints
for you as part of the project preferences.  It writes them into .gdbinit
automatically and reloads them next time you're debugging the same
executable.

Which makes life rather difficult if you have a break set in a shared library. If you reply 'yes' by mistake when Insight asks if you want to make the break pending on the library load, then gdb will rapidly crash.


- Richard



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]