Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Re: Pending breakpoints and scripts
@ 2004-02-09 22:27 Michael Elizabeth Chastain
  2004-02-09 22:38 ` Andrew Cagney
  0 siblings, 1 reply; 22+ messages in thread
From: Michael Elizabeth Chastain @ 2004-02-09 22:27 UTC (permalink / raw)
  To: cagney, gdb

> Thoughts?

You might not agree with this thought ... push back the branch cut until
there haven't been any new "breakpoint pending" issues surfaced for a
week.

(Kind of a brutal thought, I know)

Michael C


^ permalink raw reply	[flat|nested] 22+ messages in thread
* Pending breakpoints and scripts
@ 2004-02-09 20:02 Andrew Cagney
  2004-02-09 22:32 ` Daniel Jacobowitz
  0 siblings, 1 reply; 22+ messages in thread
From: Andrew Cagney @ 2004-02-09 20:02 UTC (permalink / raw)
  To: gdb

Anyone noticed this?

(top-gdb) run testsuite/gdb.base/advance
Starting program: ...
Setting up the environment for debugging gdb.
Function "internal_error" not defined.
Breakpoint 1 (internal_error) pending.
Function "info_command" not defined.
Breakpoint 2 (info_command) pending.
(top-gdb)

It's caused by this:

           if (!query ("Make breakpoint pending on future shared library 
load? ")
)
             return rc;

The old behavior was: when in batch mode, throw an error (and hence 
abandon the script) if the breakpoint insert fails.

The new behavior is: when in batch mode, always insert the breakpoint. 
when not in batch mode never throw an error.

For the existing behavior to be restored the query's logic would need to 
be reversed (ask the oposite question) and then re-throw the error.  A 
/pending qualifier could then be added.

Thoughts?
Andrew


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

end of thread, other threads:[~2004-02-17 20:35 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-09 22:27 Pending breakpoints and scripts Michael Elizabeth Chastain
2004-02-09 22:38 ` Andrew Cagney
2004-02-10  6:33   ` New command MuthuKumar-Hotpop
2004-02-10  6:36     ` Kip Macy
2004-02-10  7:07       ` MuthuKumar-Hotpop
  -- strict thread matches above, loose matches on Subject: below --
2004-02-09 20:02 Pending breakpoints and scripts Andrew Cagney
2004-02-09 22:32 ` Daniel Jacobowitz
2004-02-10 21:22   ` Andrew Cagney
2004-02-10 22:26     ` Daniel Jacobowitz
2004-02-11 14:31       ` Andrew Cagney
2004-02-11 14:47         ` Daniel Jacobowitz
2004-02-17 19:24           ` Andrew Cagney
2004-02-17 19:31             ` Daniel Jacobowitz
2004-02-17 19:39               ` Andrew Cagney
2004-02-17 19:41                 ` Daniel Jacobowitz
2004-02-17 20:07                   ` Jeff Johnston
2004-02-17 20:14                     ` Andrew Cagney
2004-02-17 20:15                       ` Daniel Jacobowitz
2004-02-17 20:13                   ` Andrew Cagney
2004-02-17 20:15                     ` Daniel Jacobowitz
2004-02-17 20:30                       ` Andrew Cagney
2004-02-17 20:35                         ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox