This is the mail archive of the
insight@sourceware.cygnus.com
mailing list for the Insight project.
Re: Is there a command to restore BP?
- To: leonp at plris dot com
- Subject: Re: Is there a command to restore BP?
- From: James Ingham <jingham at cygnus dot com>
- Date: Mon, 24 Apr 2000 11:22:30 -0700 (PDT)
- Cc: Insight <insight at sourceware dot cygnus dot com>
- References: <3903F4B8.EA491B9C@plris.com>
Leon,
Open the Breakpoints window, choose the menu Global->Save Breakpoints,
give it a file name, and click Save (or OK) I forget which.
Then you can just cut & paste this into the .gdbinit.
This currently only saves the breakpoint info, not the conditions or
commands. That is a pretty easy fix, I just didn't need it when I
implemented this feature, and didn't have time to implement bits I
didn't need. If someone else needs it, however...
Jim
> Hello, all.
> I should like to know if there is a command/macro/something which
> will allow me to restore break points saved in previous session to a
> file. I want to insert it into .gdbinit.
> Thanks ahead.
>
> leonp@plris.com
>
>
> <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
> <html>
> Hello, all.
> <br> I should like to know if there is a command/macro/something
> which will allow me to restore break points saved in previous session to
> a file. I want to insert it into .gdbinit.
> <br> Thanks ahead.
> <pre>leonp@plris.com</pre>
> </html>