This is the mail archive of the gdb-prs@sourceware.org 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]

[Bug python/12688] New: Pending breakpoint notification


http://sourceware.org/bugzilla/show_bug.cgi?id=12688

           Summary: Pending breakpoint notification
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
        AssignedTo: unassigned@sourceware.org
        ReportedBy: kevin.pouget@gmail.com


GDB always displays a notification when a breakpoint is set on an undefined
function:

breakpoint.c:create_breakpoint
    case NOT_FOUND_ERROR:

      /* If pending breakpoint support is turned off, throw
         error.  */

      if (pending_break_support == AUTO_BOOLEAN_FALSE)
        throw_exception (e);

      exception_print (gdb_stderr, e);

which is fine for the CLI:
> Function "xyz" not defined.
> Make breakpoint pending on future shared library load? (y or [n])

but from a Python script there is no way
1) to know the breakpoint is pending (as far I've seen)
2) not to print the message

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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