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?


----Original Message----
>From: Atul Talesara
>Sent: 10 March 2005 10:53

>> Is it possible to save all breakpoints that one
>> sets to a file, so that
>> we can reload the breakpoints set during the next
>> debug run?
> Well, though not exactly the same 

  [... snip ...]

> In fact you can have *any* command you wish in the
> sourced file. If you put all these in '.gdbinit'
> file then gdb will automatically source this on start up!

  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.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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