public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/12688] New: Pending breakpoint notification
@ 2011-04-20 14:34 kevin.pouget at gmail dot com
  2011-06-28 10:53 ` [Bug python/12688] " kevin.pouget at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: kevin.pouget at gmail dot com @ 2011-04-20 14:34 UTC (permalink / raw)
  To: gdb-prs

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.


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

* [Bug python/12688] Pending breakpoint notification
  2011-04-20 14:34 [Bug python/12688] New: Pending breakpoint notification kevin.pouget at gmail dot com
@ 2011-06-28 10:53 ` kevin.pouget at gmail dot com
  2022-06-05 14:53 ` tromey at sourceware dot org
  2022-06-05 14:54 ` tromey at sourceware dot org
  2 siblings, 0 replies; 4+ messages in thread
From: kevin.pouget at gmail dot com @ 2011-06-28 10:53 UTC (permalink / raw)
  To: gdb-prs

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

Kevin Pouget <kevin.pouget at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at sourceware    |kevin.pouget at gmail dot
                   |dot org                     |com

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


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

* [Bug python/12688] Pending breakpoint notification
  2011-04-20 14:34 [Bug python/12688] New: Pending breakpoint notification kevin.pouget at gmail dot com
  2011-06-28 10:53 ` [Bug python/12688] " kevin.pouget at gmail dot com
@ 2022-06-05 14:53 ` tromey at sourceware dot org
  2022-06-05 14:54 ` tromey at sourceware dot org
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at sourceware dot org @ 2022-06-05 14:53 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at sourceware dot org

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
There is a 'pending' attribute now to see if it is pending.
But AFAICT there still isn't a way to request a pending breakpoint;
and I agree in this case suppressing the message would be appropriate.

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

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

* [Bug python/12688] Pending breakpoint notification
  2011-04-20 14:34 [Bug python/12688] New: Pending breakpoint notification kevin.pouget at gmail dot com
  2011-06-28 10:53 ` [Bug python/12688] " kevin.pouget at gmail dot com
  2022-06-05 14:53 ` tromey at sourceware dot org
@ 2022-06-05 14:54 ` tromey at sourceware dot org
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at sourceware dot org @ 2022-06-05 14:54 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
I think the remainder is covered in the other bug.

*** This bug has been marked as a duplicate of bug 12816 ***

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

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

end of thread, other threads:[~2022-06-05 14:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-20 14:34 [Bug python/12688] New: Pending breakpoint notification kevin.pouget at gmail dot com
2011-06-28 10:53 ` [Bug python/12688] " kevin.pouget at gmail dot com
2022-06-05 14:53 ` tromey at sourceware dot org
2022-06-05 14:54 ` 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).