Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* How to prevent errors in "where" from aborting "thread apply all where" half-way ?
@ 2008-03-04 12:56 Yakov Lerner
  2008-03-04 17:39 ` Daniel Jacobowitz
  2008-03-05 20:42 ` Michael Snyder
  0 siblings, 2 replies; 3+ messages in thread
From: Yakov Lerner @ 2008-03-04 12:56 UTC (permalink / raw)
  To: gdb

I have situation where "thread apply all where" aborts in
the middle (because error reported by "where" in one thread),
and I do not get complete output, and this situation repeats over and
over again.
Then I am forced to run 'thread apply N where' manually for the
remaining dozens of threads.

Is there method to prevent errors in "where" from aborting "thread
apply all where" ?

Yakov


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

* Re: How to prevent errors in "where" from aborting "thread apply  all where" half-way ?
  2008-03-04 12:56 How to prevent errors in "where" from aborting "thread apply all where" half-way ? Yakov Lerner
@ 2008-03-04 17:39 ` Daniel Jacobowitz
  2008-03-05 20:42 ` Michael Snyder
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Jacobowitz @ 2008-03-04 17:39 UTC (permalink / raw)
  To: Yakov Lerner; +Cc: gdb

On Tue, Mar 04, 2008 at 11:50:54AM +0200, Yakov Lerner wrote:
> I have situation where "thread apply all where" aborts in
> the middle (because error reported by "where" in one thread),
> and I do not get complete output, and this situation repeats over and
> over again.
> Then I am forced to run 'thread apply N where' manually for the
> remaining dozens of threads.
> 
> Is there method to prevent errors in "where" from aborting "thread
> apply all where" ?

Please try a newer version of GDB; you didn't say which one you were
using, but this should be fixed.

-- 
Daniel Jacobowitz
CodeSourcery


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

* Re: How to prevent errors in "where" from aborting "thread apply  all where" half-way ?
  2008-03-04 12:56 How to prevent errors in "where" from aborting "thread apply all where" half-way ? Yakov Lerner
  2008-03-04 17:39 ` Daniel Jacobowitz
@ 2008-03-05 20:42 ` Michael Snyder
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Snyder @ 2008-03-05 20:42 UTC (permalink / raw)
  To: Yakov Lerner; +Cc: gdb

On Tue, 2008-03-04 at 11:50 +0200, Yakov Lerner wrote:
> I have situation where "thread apply all where" aborts in
> the middle (because error reported by "where" in one thread),
> and I do not get complete output, and this situation repeats over and
> over again.
> Then I am forced to run 'thread apply N where' manually for the
> remaining dozens of threads.
> 
> Is there method to prevent errors in "where" from aborting "thread
> apply all where" ?

There was something similar -- somebody tried to address the 
problem that gdb would bail out of a batch file script if
one of the commands produced an error.

I can't remember what the new command was, maybe somebody else?

And it may or may not be helpful in your similar but non-
identical context...




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

end of thread, other threads:[~2008-03-05 19:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-04 12:56 How to prevent errors in "where" from aborting "thread apply all where" half-way ? Yakov Lerner
2008-03-04 17:39 ` Daniel Jacobowitz
2008-03-05 20:42 ` Michael Snyder

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