[Bug breakpoints/18183] New: saving and restoring breakpoints -vs- pending

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug breakpoints/18183] New: saving and restoring breakpoints -vs- pending

rootedjoy833 at gmail dot com
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.
Reply | Threaded
Open this post in threaded view
|

[Bug breakpoints/18183] saving and restoring breakpoints -vs- pending

rootedjoy833 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18183

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
Maybe a "-pending" flag could be added to the "break" command for this.

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