public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Is there a command to restore BP?
@ 2000-04-24  1:14 Leon Pollak
  2000-04-24 11:19 ` James Ingham
  0 siblings, 1 reply; 2+ messages in thread
From: Leon Pollak @ 2000-04-24  1:14 UTC (permalink / raw)
  To: Insight

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 249 bytes --]

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
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Is there a command to restore BP?
  2000-04-24  1:14 Is there a command to restore BP? Leon Pollak
@ 2000-04-24 11:19 ` James Ingham
  0 siblings, 0 replies; 2+ messages in thread
From: James Ingham @ 2000-04-24 11:19 UTC (permalink / raw)
  To: leonp; +Cc: Insight

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>&nbsp;&nbsp;&nbsp; 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>&nbsp;&nbsp;&nbsp; Thanks ahead.
 > <pre>leonp@plris.com</pre>
 > &nbsp;</html>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-04-24 11:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-24  1:14 Is there a command to restore BP? Leon Pollak
2000-04-24 11:19 ` James Ingham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).