public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/18183] New: saving and restoring breakpoints -vs- pending
@ 2015-03-30 23:42 tromey at sourceware dot org
  2023-01-21 21:47 ` [Bug breakpoints/18183] " tromey at sourceware dot org
  2023-01-23 22:52 ` tromey at sourceware dot org
  0 siblings, 2 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2015-03-30 23:42 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18183

            Bug ID: 18183
           Summary: saving and restoring breakpoints -vs- pending
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: breakpoints
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org

I saved my breakpoints to a file, then in a new session,
"source"d the file to recreate them.
However, they weren't recreated, because I had neglected to
"set breakpoint pending on":

(gdb) source /tmp/B
Function "nsDOMWindowUtils::SendMouseEventCommon" not defined.
Make breakpoint pending on future shared library load? (y or [n]) [answered N;
input not from terminal]
No source file named EventBinding.cpp.
Make breakpoint pending on future shared library load? (y or [n]) [answered N;
input not from terminal]


One way around this would be to arrange for this to be handled explicitly in
the
saved script.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug breakpoints/18183] saving and restoring breakpoints -vs- pending
  2015-03-30 23:42 [Bug breakpoints/18183] New: saving and restoring breakpoints -vs- pending tromey at sourceware dot org
@ 2023-01-21 21:47 ` tromey at sourceware dot org
  2023-01-23 22:52 ` tromey at sourceware dot org
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2023-01-21 21:47 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18183

--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
The 'save' command could now emit:

with breakpoint pending on -- break ...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug breakpoints/18183] saving and restoring breakpoints -vs- pending
  2015-03-30 23:42 [Bug breakpoints/18183] New: saving and restoring breakpoints -vs- pending tromey at sourceware dot org
  2023-01-21 21:47 ` [Bug breakpoints/18183] " tromey at sourceware dot org
@ 2023-01-23 22:52 ` tromey at sourceware dot org
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2023-01-23 22:52 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18183

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at sourceware dot org   |tromey at sourceware dot org

--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
I have a patch now.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2023-01-23 22:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-30 23:42 [Bug breakpoints/18183] New: saving and restoring breakpoints -vs- pending tromey at sourceware dot org
2023-01-21 21:47 ` [Bug breakpoints/18183] " tromey at sourceware dot org
2023-01-23 22:52 ` tromey at sourceware dot org

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).